-
Notifications
You must be signed in to change notification settings - Fork 4
/
.perlcriticrc
37 lines (23 loc) · 1.19 KB
/
.perlcriticrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
[RegularExpressions::RequireExtendedFormatting]
minimum_regex_length_to_complain_about = 50
[ControlStructures::ProhibitDeepNests]
max_nests = 5
[ControlStructures::ProhibitCascadingIfElse]
max_elsif = 5
[NamingConventions::Capitalization]
[InputOutput::RequireCheckedSyscalls]
exclude_functions = print say
functions = :defaults opendir readdir closedir
[-CodeLayout::RequireTidyCode]
[-Modules::RequireVersionVar]
[-ControlStructures::ProhibitPostfixControls]
[Documentation::RequirePodSections]
language = en_US
script_sections = NAME | USAGE | DESCRIPTION | REQUIRED ARGUMENTS | OPTIONS | DIAGNOSTICS | EXIT STATUS | CONFIGURATION | DEPENDENCIES | INCOMPATIBILITIES | BUGS AND LIMITATIONS | AUTHOR | COPYRIGHT AND LICENSE
lib_sections = NAME | VERSION | SYNOPSIS | DESCRIPTION | SUBROUTINES/METHODS | DIAGNOSTICS | CONFIGURATION AND ENVIRONMENT | DEPENDENCIES | INCOMPATIBILITIES | BUGS AND LIMITATIONS | AUTHOR | COPYRIGHT AND LICENSE
[-Documentation::RequirePodLinksIncludeText]
[-Modules::RequireFilenameMatchesPackage]
[-Modules::RequireExplicitPackage]
[-ValuesAndExpressions::ProhibitEmptyQuotes]
[-RegularExpressions::RequireDotMatchAnything]
[-RegularExpressions::RequireLineBoundaryMatching]