Forráskód Böngészése

Add perlcritic tests

George S. Baugh 11 éve
szülő
commit
d03ba72d1c
2 módosított fájl, 2 hozzáadás és 1 törlés
  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