From 41523c0cbbde693cb693ab6a45dbf530f40d4f31 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 27 Sep 2017 15:52:17 +1300 Subject: Clarify excluded Perl::Critic policy --- perlcritic/perlcriticrc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'perlcritic') 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 -- cgit v1.2.3