Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 31 lines (20 sloc) 0.77 kb
96b76a2 a first draft of a perlcritic policy.
Matthew Boyle authored
1 # note the policy causing each warning, so they can be turned off more easily
2 verbose = [%p] %m at %f line %l, near '%r'\n
3
4 # no warnings if non-existant policies are mentioned in the config.
5 profile-strictness = quiet
6
7 ### Turn off policies ##########################################################
8
9 [-Modules::RequireVersionVar]
10 [-ErrorHandling::RequireUseOfExceptions]
ff29530 teach perlcritic about some of my pet peeves :-)
Matthew Boyle authored
11 [-BuiltinFunctions::RequireBlockGrep]
12 [-BuiltinFunctions::RequireBlockMap]
96b76a2 a first draft of a perlcritic policy.
Matthew Boyle authored
13
14
15 ### Configure policies #########################################################
16
17 [Variables::ProhibitPunctuationVars]
18 severity = 5
19 allow = $_ $!
20
21 [Miscellanea::RequireRcsKeywords]
22 severity = 5
23 keywords = Id
24
25 [CodeLayout::RequireTidyCode]
26 perltidyrc = perltidyrc
27
ff29530 teach perlcritic about some of my pet peeves :-)
Matthew Boyle authored
28 [CodeLayout::ProhibitTrailingWhitespace]
29 severity = 5
30
Something went wrong with that request. Please try again.