aboutsummaryrefslogtreecommitdiff
path: root/perlcritic
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-09-27 15:52:17 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-09-27 15:52:17 +1300
commit41523c0cbbde693cb693ab6a45dbf530f40d4f31 (patch)
treeed1d01390d5a547b6af084cdd9eb2f2ad04e484d /perlcritic
parentAdd a comment about how hardcore I am (diff)
downloaddotfiles-41523c0cbbde693cb693ab6a45dbf530f40d4f31.tar.gz
dotfiles-41523c0cbbde693cb693ab6a45dbf530f40d4f31.zip
Clarify excluded Perl::Critic policy
Diffstat (limited to 'perlcritic')
-rw-r--r--perlcritic/perlcriticrc6
1 files changed, 5 insertions, 1 deletions
diff --git a/perlcritic/perlcriticrc b/perlcritic/perlcriticrc
index c6e83501..4e8edf9b 100644
--- a/perlcritic/perlcriticrc
+++ b/perlcritic/perlcriticrc
@@ -1,6 +1,10 @@
# No mercy!
severity = brutal
-exclude = Bangs::ProhibitBitwiseOperators
+
+# I flatly disagree with this policy; sometimes bitwise operators are in fact
+# what I want, and I don't have the problem of using | instead of || as the
+# policy documentation suggests
+[-Bangs::ProhibitBitwiseOperators]
[Bangs::ProhibitNumberedNames]
exceptions = inet4 inet6 ipv4 ipv6 md5 sha1 sha256 sha512 x11 utf8