diff options
| author | Evgenii Lepikhin <e.lepihin@postgrespro.ru> | 2023-11-23 18:46:49 +0300 |
|---|---|---|
| committer | Evgenii Lepikhin <e.lepihin@postgrespro.ru> | 2023-11-23 18:46:49 +0300 |
| commit | 91af1b76d3dab7fcb4aabc760e49ab98f22a23f0 (patch) | |
| tree | 975f72530d03b9044f15923be8e52fb5904ddd65 /johnlepikhin/devel/files | |
| parent | refactor: Sorted includes (diff) | |
| download | johnlepikhin-guix-channel-91af1b76d3dab7fcb4aabc760e49ab98f22a23f0.tar.gz | |
refactor: Added devel/perl instead of code distributed to several files
Diffstat (limited to 'johnlepikhin/devel/files')
| -rw-r--r-- | johnlepikhin/devel/files/perlcriticrc | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/johnlepikhin/devel/files/perlcriticrc b/johnlepikhin/devel/files/perlcriticrc new file mode 100644 index 0000000..2e16701 --- /dev/null +++ b/johnlepikhin/devel/files/perlcriticrc @@ -0,0 +1,30 @@ +severity = 1 +theme = bugs + maintenance + security + complexity + pbp + cosmetic + core + +#This one must be disabled, since flymake will create temp files which +#by definition never match the specified package name +[-Modules::RequireFilenameMatchesPackage] + +[-Subroutines::ProhibitSubroutinePrototypes] +[-Subroutines::ProhibitExplicitReturnUndef] +[-Subroutines::RequireArgUnpacking] +[-InputOutput::RequireCheckedSyscalls] +[-ValuesAndExpressions::ProhibitInterpolationOfLiterals] +[-ValuesAndExpressions::ProhibitMagicNumbers] +[-RegularExpressions::RequireDotMatchAnything] +[-RegularExpressions::RequireExtendedFormatting] +[-RegularExpressions::RequireLineBoundaryMatching] +[-Modules::RequireVersionVar] +[-Modules::ProhibitMultiplePackages] +[-RegularExpressions::ProhibitComplexRegexes] +[-ValuesAndExpressions::ProhibitLongChainsOfMethodCalls] +[-InputOutput::RequireCheckedClose] +[-Variables::ProhibitPunctuationVars] +[-ControlStructures::ProhibitDeepNests] + +[-Documentation::RequirePodAtEnd] +[-Documentation::RequirePodSections] +[-Documentation::PodSpelling] + +[InputOutput::RequireBriefOpen] +lines = 20 |
