Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update critic rules

  • Loading branch information...
commit 6549c4ffcd3a4f98ae6d9d9f52d93bc5e238412e 1 parent af8165d
@kentfredric kentfredric authored
Showing with 6 additions and 3 deletions.
  1. +5 −2 maint/perlcritic.rc.gen.pl
  2. +1 −1  perlcritic.rc
View
7 maint/perlcritic.rc.gen.pl 100644 → 100755
@@ -13,8 +13,11 @@
my $bundle = create_bundle('Example::Author::KENTNL');
$bundle->configure;
-my @stopwords = ( qw[behaviours pluggable accessor accessors introspectable], );
-for my $var (@stopwords) {
+my @stopwords = (
+ qw[behaviours pluggable accessor accessors introspectable], # Spelling
+ qw[basename Config IsDev Makefile devdir Changelog], # Unquotable abstract terms
+);
+for my $var ( sort @stopwords ) {
$bundle->add_or_append_policy_field( 'Documentation::PodSpelling' => ( 'stop_words' => $var ) );
}
View
2  perlcritic.rc
@@ -124,7 +124,7 @@ allow_includes = 1
[Documentation::PodSpelling]
spell_command = aspell list --lang en_US
-stop_words = behaviours pluggable accessor accessors introspectable
+stop_words = Changelog Config IsDev Makefile accessor accessors basename behaviours devdir introspectable pluggable
[Documentation::ProhibitAdjacentLinks]
Please sign in to comment.
Something went wrong with that request. Please try again.