File: .perlcriticrc

package info (click to toggle)
libdata-validate-type-perl 1.6.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 256 kB
  • sloc: perl: 1,534; makefile: 2
file content (16 lines) | stat: -rw-r--r-- 577 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Change default severity to harsh.
severity = harsh

# Use only core PerlCritic policies.
# This prevents tests from failing if the tester / installer has non-standard
# additional PerlCritic policies.
theme = core

# Don't require /x on small regexes.
[RegularExpressions::RequireExtendedFormatting]
minimum_regex_length_to_complain_about = 20

# Allow private subroutines that start with an underscore followed by at least
# three uppercase characters, which are subroutines coming from Params::Util.
[Subroutines::ProtectPrivateSubs]
private_name_regex = _(?![A-Z]{3,})\w+