-
Notifications
You must be signed in to change notification settings - Fork 4
/
perlcritic.rc
29 lines (18 loc) · 2.86 KB
/
perlcritic.rc
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
severity = 1
exclude = RequireTidyCode RequirePodSections ProhibitPostfixControls RequireRcsKeywords RequireExplicitPackage ProhibitUnlessBlocks ProhibitBuiltinHomonyms RequireCleanNamespace RequireUseStrict RequireUseWarnings Variables::ProhibitPunctuationVars RegularExpressions::RequireDotMatchAnything RegularExpressions::RequireExtendedFormatting RegularExpressions::RequireLineBoundaryMatching RequirePodAtEnd Moose::ProhibitMultipleWiths RequirePodLinksIncludeText
include = Moose::ProhibitNewMethod Moose::RequireMakeImmutable CodeLayout::ProhibitTrailingWhitespace
color = 1
verbose = 9
[BuiltinFunctions::ProhibitStringyEval]
allow_includes = 1
[CodeLayout::ProhibitTrailingWhitespace]
[Documentation::PodSpelling]
stop_words = CPAN Str TODO rw HashRef ArrayRef HTML XHTML Bool API CGI basename plugins MyApp plugin Laver Django YAML Jifty validators Superclass superclass accessors pre checkbox textarea Printability RegexRef Undef validator CSS Renderers renderers JavaScript Pawel Murias Dorward SparkCollection SparkFormField SparkFormFieldResult SparkFormFieldValidatorResult SparkFormLoader SparkFormPluginLoader SparkFormResult SparkFormValidator SparkFormValidatorResult SparkHashray SparkLoad SparkRendererContainerForm SparkResult SparkResultItem SparkValidatesWithValidators SparkValidatorNode SparkValidatorRegex SparkWheelButton SparkWheelButtonRendererHTML SparkWheelCheckbox SparkWheelCheckboxRendererHTML SparkWheelDummy SparkWheelDummyRendererHTML SparkWheelFile SparkWheelFileRendererHTML SparkWheelHidden SparkWheelHiddenRendererHTML SparkWheelImage SparkWheelImageRendererHTML SparkWheelMultiSelect SparkWheelMultiSelectRendererHTML SparkWheelPassword SparkWheelPasswordRendererHTML SparkWheelRadio SparkWheelRadioGroup SparkWheelRadioGroupRendererHTML SparkWheelRadioRendererHTML SparkWheelReset SparkWheelResetRendererHTML SparkWheelSelect SparkWheelSelectRendererHTML SparkWheelSubmit SparkWheelSubmitRendererHTML SparkWheelText SparkWheelTextRendererHTML SparkWheelTextarea SparkWheelTextareaRendererHTML SparkContainer SparkField SparkFieldNamed SparkFieldValidates SparkForm SparkFormFieldRoleNewValidator SparkFormFieldRolePrintable SparkFormFieldRolePrintableHTML SparkFormFieldRolePrintableXHTML SparkFormFieldValidator SparkFormPrinter SparkFormPrinterHTML SparkFormPrinterXHTML SparkFormRoleErrorStore SparkFormRoleValidity SparkFormSource SparkLabelled SparkNamed SparkNode SparkObject SparkParent SparkRenderer SparkRendererContainer SparkRenders SparkSimpleField SparkSimpleForm SparkSimpleNode SparkValidates SparkValidator Paweł github
[NamingConventions::ProhibitAmbiguousNames]
forbid = abstract bases close contract last left no record right second
[Subroutines::ProhibitUnusedPrivateSubroutines]
private_name_regex = _(?!build_)\w
[TestingAndDebugging::RequireUseStrict]
equivalent_modules = Moose
[TestingAndDebugging::RequireUseWarnings]
equivalent_modules = Moose