Skip to content
Browse files

critic fixes

  • Loading branch information...
1 parent 7b177a3 commit 98130a69da46bcb465633404d19ae6fca76adacd @petdance committed Apr 6, 2012
Showing with 2 additions and 1 deletion.
  1. +1 −1 lib/HTML/Lint/Parser.pm
  2. +1 −0 perlcriticrc
View
2 lib/HTML/Lint/Parser.pm
@@ -234,7 +234,7 @@ sub _comment {
my ($directive,$value) = split( /\s*:\s*/, $command, 2 );
_trim($_) for ($directive,$value);
- if ( ($directive ne 'all') &&
+ if ( ($directive ne 'all') &&
( not exists $HTML::Lint::Error::errors{ $directive } ) ) {
$self->gripe( 'config-unknown-directive',
directive => $directive,
View
1 perlcriticrc
@@ -20,6 +20,7 @@ functions = open opendir read readline readdir close closedir
[-Modules::RequireVersionVar]
+[-RegularExpressions::RequireDotMatchAnything]
[-RegularExpressions::RequireExtendedFormatting]
[-RegularExpressions::RequireLineBoundaryMatching]

0 comments on commit 98130a6

Please sign in to comment.
Something went wrong with that request. Please try again.