Skip to content

Commit

Permalink
Update critic rules
Browse files Browse the repository at this point in the history
  • Loading branch information
kentfredric committed Mar 1, 2014
1 parent af8165d commit 6549c4f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions maint/perlcritic.rc.gen.pl 100644 → 100755
Expand Up @@ -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 ) );
}

Expand Down
2 changes: 1 addition & 1 deletion perlcritic.rc
Expand Up @@ -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]

Expand Down

0 comments on commit 6549c4f

Please sign in to comment.