Skip to content

Commit bc0702e

Browse files
committed
Add [Test::Perl::Critic]
1 parent 4683a07 commit bc0702e

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

Diff for: dist.ini

+3
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ GatherDir.exclude_filename = EMPLOYERS.pdf
3636
[RunExtraTests]
3737
; authordep Test::Pod::LinkCheck::Lite
3838

39+
[Test::Perl::Critic]
40+
; authordep Perl::Critic::Community
41+
3942
[Prereqs / RuntimeRequires]
4043
; Needs Perl v5.14 for Feature::Compat::Defer
4144
perl = 5.014

Diff for: perlcritic.rc

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
theme = ( core + pbp + security + maintenance ) * bugs
2+
include = CodeLayout::ProhibitTrailingWhitespace CodeLayout::RequireConsistentNewlines
3+
4+
[-Subroutines::ProhibitSubroutinePrototypes]
5+
6+
# alternate that works better with dzil ::PkgVersion
7+
[-TestingAndDebugging::RequireUseStrict]
8+
[-TestingAndDebugging::RequireUseWarnings]
9+
[Community::StrictWarnings]
10+
extra_importers = Test2::V0
11+
12+
# vim: ft=dosini

0 commit comments

Comments
 (0)