summaryrefslogtreecommitdiff
path: root/perlcriticrc
blob: 19f4bd53a417cb8744688e38eab94be3f3b223fb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
severity = brutal
# In this project, regex usage is minimal and simple.
# /x
[-RegularExpressions::RequireExtendedFormatting]
# /m
[-RegularExpressions::RequireLineBoundaryMatching]
# /s
[-RegularExpressions::RequireDotMatchAnything]
[-ErrorHandling::RequireCarping]
[ValuesAndExpressions::ProhibitMagicNumbers]
allowed_values = -4..100
[-ValuesAndExpressions::ProhibitNoisyQuotes]
[-ValuesAndExpressions::ProhibitEmptyQuotes]
[InputOutput::RequireCheckedSyscalls]
functions = :builtins
exclude_functions = print say
# It is tidy in my heart
[-CodeLayout::RequireTidyCode]