| 1 |
############################################################################## |
| 2 |
# $URL: http://perlcritic.tigris.org/svn/perlcritic/trunk/distributions/PPIx-Utilities/xt/author/perlcriticrc-tests $ |
| 3 |
# $Date: 2009-06-26 11:12:12 -0400 (Fri, 26 Jun 2009) $ |
| 4 |
# $Author: clonezone $ |
| 5 |
# $Revision: 3366 $ |
| 6 |
############################################################################## |
| 7 |
|
| 8 |
profile-strictness = quiet |
| 9 |
severity = 1 |
| 10 |
theme = core + more |
| 11 |
verbose = %f: %m at line %l, column %c. %e. (Severity: %s, %p)\n |
| 12 |
|
| 13 |
#----------------------------------------------------------------------------- |
| 14 |
|
| 15 |
[CodeLayout::ProhibitQuotedWordLists] |
| 16 |
strict = 1 |
| 17 |
|
| 18 |
[CodeLayout::ProhibitHardTabs] |
| 19 |
allow_leading_tabs = 0 |
| 20 |
|
| 21 |
[-CodeLayout::RequireTidyCode] |
| 22 |
|
| 23 |
[ControlStructures::ProhibitPostfixControls] |
| 24 |
flowcontrol = warn die carp croak cluck confess goto exit plan skip |
| 25 |
|
| 26 |
[Documentation::PodSpelling] |
| 27 |
stop_words = |
| 28 |
|
| 29 |
[-Documentation::RequirePodSections] |
| 30 |
|
| 31 |
[-ErrorHandling::RequireUseOfExceptions] |
| 32 |
|
| 33 |
[InputOutput::RequireCheckedSyscalls] |
| 34 |
functions = :builtins |
| 35 |
exclude_functions = print |
| 36 |
|
| 37 |
[Miscellanea::RequireRcsKeywords] |
| 38 |
keywords = URL Date Author Revision |
| 39 |
|
| 40 |
# Character length is not a proper measure of complexity. |
| 41 |
[-RegularExpressions::ProhibitComplexRegexes] |
| 42 |
|
| 43 |
[RegularExpressions::ProhibitUnusualDelimiters] |
| 44 |
allow_all_brackets = 1 |
| 45 |
|
| 46 |
[RegularExpressions::RequireBracesForMultiline] |
| 47 |
allow_all_brackets = 1 |
| 48 |
|
| 49 |
# Tests are allowed to peek. |
| 50 |
[-Subroutines::ProtectPrivateSubs] |