summaryrefslogtreecommitdiffstats
path: root/.perlcriticrc
blob: a2f231af49a1140b169ca2ce981417bd28bbe9e0 (plain)
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
severity = 1
verbose  = 11
color    = 1
pager    = less -R

# Arguments are not modified.
[-Subroutines::RequireArgUnpacking]

# The expressions are pretty short and understandable.
[-RegularExpressions::RequireExtendedFormatting]

# drhtz() and drhfz() intentionally compare strings numerically.
[-ValuesAndExpressions::ProhibitMismatchedOperators]

# Maybe it's not idiomatic, but I disagree with these.
[-ValuesAndExpressions::ProhibitEmptyQuotes]
[-ValuesAndExpressions::ProhibitNoisyQuotes]

# And I strongly disagree with this.
[-CodeLayout::ProhibitParensWithBuiltins]

# Anchors should match across multiple lines, if anyone is dumb enough to put
# line breaks in their numbers.
[-RegularExpressions::RequireLineBoundaryMatching]

# There are no dots.
[-RegularExpressions::RequireDotMatchAnything]

[Documentation::PodSpelling]
stop_words_file = .words.txt