Permalink
Browse files

rename file for portability

  • Loading branch information...
1 parent 0976a3f commit 230065ee70499d9c20e654d4d11469c099f9c42d @gray committed Sep 19, 2009
Showing with 25 additions and 2 deletions.
  1. +2 −1 MANIFEST
  2. +1 −1 xt/perlcritic.t
  3. +22 −0 xt/perlcriticrc
View
@@ -1,4 +1,3 @@
-.perlcriticrc
Changes
ex/custom-useragent.pl
lib/Geo/Coder/Mapquest.pm
@@ -10,5 +9,7 @@ t/01_new.t
xt/kwalitee.t
xt/live.t
xt/perlcritic.t
+xt/perlcriticrc
xt/pod.t
xt/pod_coverage.t
+xt/portability_filenames.t
View
@@ -6,6 +6,6 @@ eval { require Test::Perl::Critic };
if ($@) {
plan skip_all => "Test::Perl::Critic is not installed.";
}
-Test::Perl::Critic->import;
+Test::Perl::Critic->import( -profile => 'xt/perlcriticrc' );
all_critic_ok(qw( ex lib t xt ));
View
@@ -0,0 +1,22 @@
+verbose = 8
+
+[CodeLayout::ProhibitHardTabs]
+allow_leading_tabs = 0
+severity = 5
+
+[CodeLayout::ProhibitTrailingWhitespace]
+severity = 5
+
+# requires Perl::Critic::More
+[CodeLayout::RequireASCII]
+severity = 5
+
+[TestingAndDebugging::RequireUseWarnings]
+severity = 5
+
+[-TestingAndDebugging::ProhibitNoStrict]
+[-BuiltinFunctions::ProhibitStringyEval]
+
+# requires Regexp::Parser
+[RegularExpressions::ProhibitUnusedCapture]
+severity = 5

0 comments on commit 230065e

Please sign in to comment.