diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml new file mode 100644 index 0000000..04c8f91 --- /dev/null +++ b/.github/workflows/linter.yml @@ -0,0 +1,5 @@ + - name: perlcritic + uses: gugod/actions-perlcritic@v1.0 + with: + paths: "lib t" + options: "-p .perlcriticrc" \ No newline at end of file diff --git a/.perlcriticrc b/.perlcriticrc index bb60a28..feaae88 100644 --- a/.perlcriticrc +++ b/.perlcriticrc @@ -1,2 +1,2 @@ only = 1 -include = RequireUseStrict ProhibitUnusedVariables \ No newline at end of file +include = ProhibitUnusedVariables ProhibitUnusedConstant ProhibitUnusedInclude ProhibitUnusedImport \ No newline at end of file