1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
|
# Make things as strict as possible.
profile-strictness = quiet
severity = 1
verbose = %f: %m at line %l, column %c. %e. (Severity: %s, %p)\n
# Need to write CodeLayout::RequireUTF8
[-CodeLayout::RequireASCII]
# No Emacs around here.
[-Editor::RequireEmacsFileVariables]
[-ErrorHandling::RequireUseOfExceptions]
# Perl::Tidy wouldn't know a properly formatted conditional expression
# if one stomped all over Perl::Tidy.pm. (Not to say that P::T isn't
# useful.)
[-CodeLayout::RequireTidyCode]
[Documentation::PodSpelling]
stop_words = PPI regex subclasses
[-Documentation::RequirePodLinksIncludeText]
[Documentation::RequirePodSections]
source = module_starter_pbp_0_0_3
language = en_US
[InputOutput::RequireCheckedSyscalls]
functions = open close
# Tags are good enough for me.
[-Miscellanea::RequireRcsKeywords]
# For some reason, this chokes on v-strings within a version constructor
# and I don't have time to chase this down.
[-Modules::PerlMinimumVersion]
[RegularExpressions::ProhibitUnusualDelimiters]
allow_all_brackets = 1
[RegularExpressions::RequireBracesForMultiline]
allow_all_brackets = 1
[-Tics::ProhibitLongLines]
# Magic numbers BAD. (It doesn't hurt that I wrote this policy.)
[ValuesAndExpressions::ProhibitMagicNumbers]
severity = 4
[Variables::ProhibitPackageVars]
packages = File::Next
# setup vim: set filetype=conf tabstop=4 softtabstop=4 expandtab :
# setup vim: set shiftwidth=4 shiftround textwidth=78 nowrap autoindent :
# setup vim: set foldmethod=indent foldlevel=0 :
|