File: .perlcriticrc

package info (click to toggle)
libobject-id-perl 0.1.2-2.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 192 kB
  • sloc: perl: 289; makefile: 2
file content (39 lines) | stat: -rw-r--r-- 1,286 bytes parent folder | download | duplicates (4)
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
38
39
# Change the default message to show the policy name so we can shut it up if necessary
verbose         = %m [%p] at %f line %l, near '%r'\n

# Force perlcritic to use color, even when run through a pager.
color           = 1

# Use a pager.
pager           = $PAGER

# Nuthin wrong with any of these.
[-BuiltinFunctions::RequireBlockMap]
[-BuiltinFunctions::RequireBlockGrep]
[-ValuesAndExpressions::ProhibitEmptyQuotes]
[-ValuesAndExpressions::ProhibitNoisyQuotes]
[-ValuesAndExpressions::ProhibitInterpolationOfLiterals]
[-Variables::RequireInitializationForLocalVars]
[-Variables::ProhibitPunctuationVars]
[-ControlStructures::ProhibitPostfixControls]
[-References::ProhibitDoubleSigils]
[-Documentation::RequirePodAtEnd]
[-Modules::ProhibitAutomaticExportation]

# RCS keywords?  Get real.
[-Miscellanea::RequireRcsKeywords]

# No point putting a /x on really short regexes.
[RegularExpressions::RequireExtendedFormatting]
minimum_regex_length_to_complain_about = 5

# Extend the ability to play with @_ to 3 line subroutines.
[Subroutines::RequireArgUnpacking]
short_subroutine_statements = 3

# Inform perlcritic that Mouse turns on strictures
[TestingAndDebugging::RequireUseStrict]
equivalent_modules = Mouse

[TestingAndDebugging::RequireUseWarnings]
equivalent_modules = Mouse