File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 11severity = 3
22verbose = 11
3- theme = core + pbp + bugs + maintenance + cosmetic + complexity + security + tests + moose
3+ theme = ( core && ( pbp || bugs || maintenance || cosmetic || complexity || security || tests)) || moose
44program-extensions = pl psgi t
55
66exclude = Subroutines::ProhibitCallsToUndeclaredSubs
@@ -55,7 +55,7 @@ add_packages = Carp Test::Builder
5555[-RegularExpressions::RequireExtendedFormatting]
5656[-RegularExpressions::RequireLineBoundaryMatching]
5757
58- # https ://stackoverflow.com/questions/2275317/why-does-perlcritic-dislike-using-shift-to-populate-subroutine-variables
58+ # http ://stackoverflow.com/questions/2275317/why-does-perlcritic-dislike-using-shift-to-populate-subroutine-variables
5959[-Subroutines::RequireArgUnpacking]
6060
6161# "use v5.14" is more readable than "use 5.014"
@@ -65,3 +65,6 @@ add_packages = Carp Test::Builder
6565# prevents very common errors when using a sub in list context to construct a
6666# hash and ending up with a missing value or key.
6767[-Subroutines::ProhibitExplicitReturnUndef]
68+
69+ # Sometimes I want to write "return unless $x > 4"
70+ [-ControlStructures::ProhibitNegativeExpressionsInUnlessAndUntilConditions]
Original file line number Diff line number Diff line change 1515-nolq
1616-npro
1717-nsfs
18+ --blank-lines-before-packages=0
1819--opening-hash-brace-right
1920--no-outdent-long-comments
21+ --iterations=2
2022-wbb="% + - * / x != == >= <= =~ !~ < > | & >= < = **= += *= &= <<= &&= -= /= |= >>= ||= .= %= ^= x="
You can’t perform that action at this time.
0 commit comments