Skip to content

Commit

Permalink
rename file for portability
Browse files Browse the repository at this point in the history
  • Loading branch information
gray committed Sep 19, 2009
1 parent 0976a3f commit 230065e
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 2 deletions.
3 changes: 2 additions & 1 deletion MANIFEST
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
.perlcriticrc
Changes
ex/custom-useragent.pl
lib/Geo/Coder/Mapquest.pm
Expand All @@ -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
2 changes: 1 addition & 1 deletion xt/perlcritic.t
Original file line number Diff line number Diff line change
Expand Up @@ -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 ));
22 changes: 22 additions & 0 deletions xt/perlcriticrc
Original file line number Diff line number Diff line change
@@ -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.