浏览代码

Add perlcritic tests

George S. Baugh 11 年之前
父节点
当前提交
d03ba72d1c
共有 2 个文件被更改,包括 2 次插入1 次删除
  1. 1 1
      dist.ini
  2. 1 0
      perlcriticrc

+ 1 - 1
dist.ini

@@ -16,7 +16,7 @@ homepage          = https://github.com/teodesian/TestRail-Perl
 [@Basic]
 
 [@TestingMania]
-disable = Test::Perl::Critic
+critic_config = perlcriticrc
 ; Test::Version is more or less incompatible with the Perl::Critic tests,
 ; as the auto-inserter goes before stricture.
 ; this defeats the purpose of only changing the version in one place, which is the point of dzil

+ 1 - 0
perlcriticrc

@@ -0,0 +1 @@
+exclude = RequireUseStrict|RequireUseWarnings