summaryrefslogtreecommitdiff
path: root/t/critic
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2015-09-15 19:45:58 +0200
committerGuillem Jover <guillem@debian.org>2015-09-17 04:26:09 +0200
commit2fe0977d0895a91b7a8f5a669dc9dde5277dc936 (patch)
tree95e62dcc265e875be5b1238d404baae90b8d3948 /t/critic
parent7af0e3ba84361d4df748e43b372e2abe2f3d9c11 (diff)
downloaddpkg-2fe0977d0895a91b7a8f5a669dc9dde5277dc936.tar.gz
t: Disable perl-critic RegularExpressions::ProhibitEnumeratedClasses
We work primarily with ASCII, so we want to specify the exact characters to match.
Diffstat (limited to 't/critic')
-rw-r--r--t/critic/perlcriticrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/critic/perlcriticrc b/t/critic/perlcriticrc
index 69a7b6e09..7e942a3d4 100644
--- a/t/critic/perlcriticrc
+++ b/t/critic/perlcriticrc
@@ -55,6 +55,9 @@ allow_if_string_contains_single_quote = 1
[-Modules::RequireVersionVar]
# These are fine.
[-NamingConventions::ProhibitAmbiguousNames]
+# We work primarily with ASCII, so we need to specify the exact characters
+# to match.
+[-RegularExpressions::ProhibitEnumeratedClasses]
# When . is used in the code it means what it does.
[-RegularExpressions::RequireDotMatchAnything]
# When ^ or $ are used in the code they mean what they do.