From e5f1808db9edc732118da56bc974927f2a7ab16b Mon Sep 17 00:00:00 2001 From: htrgouvea Date: Wed, 24 Jan 2024 11:47:21 -0300 Subject: [PATCH] update linter --- .github/{ => workflows}/linter.yml | 0 .perlcriticrc | 5 +++-- 2 files changed, 3 insertions(+), 2 deletions(-) rename .github/{ => workflows}/linter.yml (100%) diff --git a/.github/linter.yml b/.github/workflows/linter.yml similarity index 100% rename from .github/linter.yml rename to .github/workflows/linter.yml diff --git a/.perlcriticrc b/.perlcriticrc index 930198b..8fe04ee 100644 --- a/.perlcriticrc +++ b/.perlcriticrc @@ -1,2 +1,3 @@ -only = 1 -include = ProhibitUnusedVariables ProhibitUnusedConstant ProhibitUnusedInclude ProhibitUnusedImport ProhibitUnreachableCode ProhibitComplexRegexes ProhibitDuplicatedSub ProhibitDuplicateHashKeys ProhibitUnusedPrivateSubroutines ProhibitUnlessBlocks ProhibitExcessiveColons ProhibitExplicitReturnUndef RequireCamelCase ProhibitMagicNumbers ProhibitTrailingWhitespace ProhibitHardTabs \ No newline at end of file +severity = 5 + +[-TestingAndDebugging::RequireUseStrict] \ No newline at end of file