I'm trying to get started using Perlcritic, and I'm working on refining my own configuration, leaving out all the rules I don't agree with or don't think are appropriate for me.
I know that I can do this using a .perlcrirticrc file, and that I can use the exclude directive in that file to exclude the policies I don't agree with, but to do that, I need to find the name of the policy that is causing the error I want to suppress.
I can't find a list of the policies in the documentation on CPAN anywhere, and the error messages do not give the name of the policy that is generating, so I'm at a total loss as to how I am supposed to generate my exclude list.
If anyone could point me to a way of mapping errors to policies, or even just point me to a list of the policies in core I'd be most grateful!
The highly-unintuitive --verbose flag is what you want, according to How do I make Perl::Critic show the offending policy in its output?