-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathperlcritic.rc
27 lines (21 loc) · 889 Bytes
/
perlcritic.rc
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
severity = harsh
verbose = [%p] %m at line %l, column %c. %e (Severity: %s)\n
include = RequirePodSections
exclude = ValuesAndExpressions::ProhibitVersionStrings
color-severity-lowest = bright_blue
color-severity-low = bright_green
color-severity-medium = bright_yellow
color-severity-high = rgb530
color-severity-highest = bright_red
[TestingAndDebugging::RequireUseStrict]
equivalent_modules = Modern::Perl
[TestingAndDebugging::RequireUseWarnings]
equivalent_modules = Modern::Perl
[Documentation::RequirePodSections]
lib_sections = NAME | VERSION | SYNOPSIS | DESCRIPTION | BUGS AND LIMITATIONS | AUTHOR | COPYRIGHT AND LICENSE
script_sections = NAME | USAGE | OPTIONS | EXIT STATUS | BUGS AND LIMITATIONS | AUTHOR | COPYRIGHT AND LICENSE
[Subroutines::ProhibitExcessComplexity]
max_mccabe = 20
[Subroutines::RequireFinalReturn]
terminal_methods = throw
# terminal_funcs =