Skip to content

Commit

Permalink
Add increasing verbosity command list for perlcritic
Browse files Browse the repository at this point in the history
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 03bb408
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion data/perl.ini
Expand Up @@ -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}
Expand Down

0 comments on commit 03bb408

Please sign in to comment.