Closed pink-mist closed 8 years ago
When I put theme = freenode in .perlcriticrc I get an error message from perlcritic stating No policies selected. and exiting with error-code 255.
theme = freenode
No policies selected.
Shell session showing the issue:
[0]suppy@celestia:~/work/sbotools$ cat .perlcriticrc theme = freenode [0]suppy@celestia:~/work/sbotools$ perlcritic SBO-Lib/lib/SBO/Lib.pm No policies selected. [255]suppy@celestia:~/work/sbotools$ perlcritic --theme freenode SBO-Lib/lib/SBO/Lib.pm SBO-Lib/lib/SBO/Lib.pm source OK [0]suppy@celestia:~/work/sbotools$ env | grep -i perl PERL5LIB=/home/suppy/perl5/lib/perl5 PERL_MB_OPT=--install_base "/home/suppy/perl5" PATH=/home/suppy/perl5/bin:/home/suppy/.commands/:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/lib64/kde4/libexec:/usr/lib64/qt/bin:/usr/share/texmf/bin PERL_LOCAL_LIB_ROOT=/home/suppy/perl5 PERL_MM_OPT=INSTALL_BASE=/home/suppy/perl5 [0]suppy@celestia:~/work/sbotools$
From the perl-critic bug, additionally specify severity = 1 to load all policies from the theme, this will be fixed.
severity = 1
When I put
theme = freenode
in .perlcriticrc I get an error message from perlcritic statingNo policies selected.
and exiting with error-code 255.Shell session showing the issue: