Skip to content
Permalink
Browse files

Add increasing verbosity command list for perlcritic

Use the named shortcuts for severity levels as
these are more human-readable while shortish.
  • Loading branch information...
pabs3 committed Aug 22, 2019
1 parent 6d19a26 commit 03bb4083743b914de0d50d68704862206f7763d6
Showing with 5 additions and 1 deletion.
  1. +5 −1 data/perl.ini
@@ -25,7 +25,11 @@ types = text/x-perl
comment =
May create/overwrite a perltidy.ERR file in the current dir (https://bugs.debian.org/834213)
To see full descriptions of each issue, add %d to the --verbose option value
command = perlcritic --noprofile -1 --verbose '%f:%l:%c: %m. %e. Near `%r` (Severity: %s)\n' {cwd} 2>&1 | grep -vF 'No perl files were found.'
command = perlcritic --noprofile --verbose '%f:%l:%c: %m. %e. Near `%r` (Severity: %s)\n' --gentle {cwd} 2>&1 | grep -vF 'No perl files were found.'
command = perlcritic --noprofile --verbose '%f:%l:%c: %m. %e. Near `%r` (Severity: %s)\n' --stern {cwd} 2>&1 | grep -vF 'No perl files were found.'
command = perlcritic --noprofile --verbose '%f:%l:%c: %m. %e. Near `%r` (Severity: %s)\n' --harsh {cwd} 2>&1 | grep -vF 'No perl files were found.'
command = perlcritic --noprofile --verbose '%f:%l:%c: %m. %e. Near `%r` (Severity: %s)\n' --cruel {cwd} 2>&1 | grep -vF 'No perl files were found.'
command = perlcritic --noprofile --verbose '%f:%l:%c: %m. %e. Near `%r` (Severity: %s)\n' --brutal {cwd} 2>&1 | grep -vF 'No perl files were found.'

[perllib]
command = grep -nHrw PERLLIB {cwd}

0 comments on commit 03bb408

Please sign in to comment.
You can’t perform that action at this time.