* CHANGE: bumpin' up to severity 3
This commit is contained in:
parent
5966942f98
commit
aa1683a1c2
|
@ -1,4 +1,4 @@
|
||||||
severity = 4
|
severity = 3
|
||||||
|
|
||||||
# severity five ===============================================================
|
# severity five ===============================================================
|
||||||
|
|
||||||
|
@ -24,6 +24,9 @@ allow_last_statement_to_be_comma_separated_in_map_and_grep = 1
|
||||||
|
|
||||||
# severity three ==============================================================
|
# severity three ==============================================================
|
||||||
|
|
||||||
|
[-RegularExpressions::RequireExtendedFormatting]
|
||||||
|
# they're not all complex
|
||||||
|
|
||||||
# severity two ================================================================
|
# severity two ================================================================
|
||||||
|
|
||||||
# severity one ================================================================
|
# severity one ================================================================
|
15
critique.pl
15
critique.pl
|
@ -1,17 +1,18 @@
|
||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
|
|
||||||
|
use Perl::Critic;
|
||||||
|
|
||||||
my @FILES = qw(
|
my @FILES = qw(
|
||||||
buttbot.pl
|
buttbot.pl
|
||||||
Butts.pm
|
Butts.pm
|
||||||
t/Butts.t
|
t/Butts.t
|
||||||
critique.pl
|
critique.pl
|
||||||
);
|
);
|
||||||
|
|
||||||
use Perl::Critic;
|
|
||||||
my $critic = new Perl::Critic;
|
my $critic = new Perl::Critic;
|
||||||
|
|
||||||
for my $file (@FILES) {
|
for my $file (@FILES) {
|
||||||
print "Critiquing $file...\n";
|
print "Critiquing $file...\n";
|
||||||
print $critic->critique($file);
|
print $critic->critique($file);
|
||||||
}
|
}
|
Loading…
Reference in New Issue