Quellcode durchsuchen

Add perlcritic tests

George S. Baugh vor 11 Jahren
Ursprung
Commit
d03ba72d1c
2 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  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