aboutsummaryrefslogtreecommitdiff
path: root/perlcritic.rc
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2017-02-07 19:23:15 +0000
committerdakkar <dakkar@thenautilus.net>2017-02-07 19:23:15 +0000
commit64113856c246f354cc5f9660733bcf28692c4b30 (patch)
treeeab8a0bce0de1597e0ea4a5222fd3fd3238a9186 /perlcritic.rc
parentdon't critique Moo's builders (diff)
downloadSietima-64113856c246f354cc5f9660733bcf28692c4b30.tar.gz
Sietima-64113856c246f354cc5f9660733bcf28692c4b30.tar.bz2
Sietima-64113856c246f354cc5f9660733bcf28692c4b30.zip
Perl::Critic test passes now
Diffstat (limited to 'perlcritic.rc')
-rw-r--r--perlcritic.rc5
1 files changed, 4 insertions, 1 deletions
diff --git a/perlcritic.rc b/perlcritic.rc
index e8d987d..f060909 100644
--- a/perlcritic.rc
+++ b/perlcritic.rc
@@ -243,8 +243,9 @@ allow_import_of = utf8 strict warnings
# Values that are always included: new.
# forbid =
+# postderef confuses this
# Write `@{ $array_ref }' instead of `@$array_ref'.
-[References::ProhibitDoubleSigils]
+[-References::ProhibitDoubleSigils]
# Capture variable used outside conditional.
[RegularExpressions::ProhibitCaptureWithoutTest]
@@ -353,9 +354,11 @@ statements = 10
# Always `use strict'.
[TestingAndDebugging::RequireUseStrict]
+equivalent_modules = Sietima::Policy
# Always `use warnings'.
[TestingAndDebugging::RequireUseWarnings]
+equivalent_modules = Sietima::Policy
# Don't use the comma operator as a statement separator.
[ValuesAndExpressions::ProhibitCommaSeparatedStatements]