in reply to How Critical is Critic?
FWIW, here's a simplified version of my ~/.perlcriticrc:
severity = 3 verbose = 9 [RegularExpressions::RequireExtendedFormatting] severity = 2 [Variables::ProhibitReusedNames] severity = 5
For modules I like to increase the severity of ErrorHandling::RequireCarping to 4, and sometimes I need to reduce the severity of Modules::ProhibitExcessMainComplexity down to 2.
I've found this gives a decent balance between reminding me of best practices vs. annoying nitpickyness. I do make use of "## no critic (...)" as necessary.
|
---|