Browse Source

t: Disable perl-critic RegularExpressions::ProhibitEnumeratedClasses

We work primarily with ASCII, so we want to specify the exact characters
to match.
Guillem Jover 10 years ago
parent
commit
2fe0977d08
1 changed files with 3 additions and 0 deletions
  1. 3 0
      t/critic/perlcriticrc

+ 3 - 0
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.