-
Notifications
You must be signed in to change notification settings - Fork 36
/
.perlcriticrc
151 lines (146 loc) · 6.6 KB
/
.perlcriticrc
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
verbose = %f [%p] %m at line %l, column %c. (Severity: %s)\n
profile-strictness = quiet
exclude = Mardem
[Documentation::PodSpelling]
stop_words = ActiveKids afterwards arrayref arrayrefs attr autocommit AutoCommit AutoInactiveDestroy backend bitmask bool boolean Bunce bytea CachedKids cancelled ChildHandles ChopBlanks CompatMode CursorName datatype Datatype datatypes dbd DBD dbdpg dbh DBI deallocation deallocated dev dr DSN enum ErrCount errstr fd FetchHashKeyName filename func getfd getline github HandleError HandleSetErr hashref hashrefs InactiveDestroy JSON largeobject len libpq LongReadLen LongTruncOk lseg Mergl Momjian Mullane nullable NULLABLE Oid OID onwards param ParamTypes ParamValues perl Perlish PgBouncer pgbuiltin pgend pglibpq pglogin pgprefix pgquote PGSERVICE PGSERVICEFILE pgsql pgstart PGSYSCONFDIR PID Postgres PostgreSQL PQexecParams PQexecPrepared PrintError PrintWarn pseudotype RaiseError README ReadOnly RowCache RowCacheSize RowsInCache runtime Sabino savepoint savepoints Savepoints schemas ShowErrorStatement SQL SQLSTATE SSL sslmode STDERR STDIN STDOUT subdirectory tablename tablespace tablespaces TaintIn TaintOut TraceLevel tuple typename undef username Username UTF varchar
[-Bangs::ProhibitBitwiseOperators]
[-Bangs::ProhibitCommentedOutCode]
[-Bangs::ProhibitDebuggingModules]
[-Bangs::ProhibitFlagComments]
[-Bangs::ProhibitNumberedNames]
[-Bangs::ProhibitVagueNames]
[-BuiltinFunctions::ProhibitBooleanGrep]
[-BuiltinFunctions::ProhibitComplexMappings]
[-BuiltinFunctions::ProhibitStringyEval]
[-BuiltinFunctions::RequireBlockGrep]
[-ClassHierarchies::ProhibitExplicitISA]
[-CodeLayout::ProhibitHashBarewords]
[-CodeLayout::ProhibitParensWithBuiltins]
[-CodeLayout::ProhibitQuotedWordLists]
[-CodeLayout::ProhibitSpaceIndentation]
[-CodeLayout::RequireASCII]
[-CodeLayout::RequireBreakBeforeOperator]
[-CodeLayout::RequireKRBracing]
[-CodeLayout::RequireSpaceAroundBinaryOperators]
[-CodeLayout::RequireTidyCode]
[-CodeLayout::RequireTrailingCommaAtNewline]
[-CodeLayout::RequireUseUTF8]
[-CodeLayout::TabIndentSpaceAlign]
[-CognitiveComplexity::ProhibitExcessCognitiveComplexity]
[-Community::Each]
[-Community::EmptyReturn]
[-Community::PackageMatchesFilename]
[-Community::WhileDiamondDefaultAssignment]
[-Compatibility::PodMinimumVersion]
[-ControlStructures::ProhibitCascadingIfElse]
[-ControlStructures::ProhibitCStyleForLoops]
[-ControlStructures::ProhibitDeepNests]
[-ControlStructures::ProhibitMultipleSubscripts]
[-ControlStructures::ProhibitPostfixControls]
[-Documentation::RequireLinkedURLs]
[-Documentation::RequirePod]
[-Documentation::RequirePodSections]
[-Documentation::RequirePODUseEncodingUTF8]
[-Editor::RequireEmacsFileVariables]
[-ErrorHandling::RequireCarping]
[-ErrorHandling::RequireCheckingReturnValueOfEval]
[-Freenode::Each]
[-Freenode::EmptyReturn]
[-Freenode::PackageMatchesFilename]
[-Freenode::StrictWarnings]
[-Freenode::WhileDiamondDefaultAssignment]
[-InputOutput::ProhibitBacktickOperators]
[-InputOutput::ProhibitOneArgSelect]
[-InputOutput::RequireBriefOpen]
[-InputOutput::RequireCheckedClose]
[-InputOutput::RequireCheckedSyscalls]
[-Lax::ProhibitComplexMappings::LinesNotStatements]
[-Lax::ProhibitEmptyQuotes::ExceptAsFallback]
[-Lax::ProhibitStringyEval::ExceptForRequire]
[-Lax::RequireEndWithTrueConst]
[-Lax::RequireExplicitPackage::ExceptForPragmata]
[-logicLAB::ProhibitShellDispatch]
[-logicLAB::ProhibitUseLib]
[-logicLAB::RequireParamsValidate]
[-logicLAB::RequireSheBang]
[-logicLAB::RequireVersionFormat]
[-Miscellanea::ProhibitUnrestrictedNoCritic]
[-Miscellanea::ProhibitUselessNoCritic]
[-Miscellanea::RequireRcsKeywords]
[-Modules::ProhibitAutomaticExportation]
[-Modules::ProhibitExcessMainComplexity]
[-Modules::ProhibitMultiplePackages]
[-Modules::RequireBarewordIncludes]
[-Modules::RequireEndWithOne]
[-Modules::RequireExplicitInclusion]
[-Modules::RequireExplicitPackage]
[-OTRS::ProhibitDumper]
[-OTRS::ProhibitLocaltime]
[-OTRS::ProhibitLowPrecedenceOps]
[-OTRS::ProhibitOpen]
[-OTRS::ProhibitRequire]
[-OTRS::RequireCamelCase]
[-OTRS::RequireParensWithMethods]
[-ProhibitImplicitImport]
[-ProhibitOrReturn]
[-References::ProhibitDoubleSigils]
[-RegularExpressions::ProhibitCaptureWithoutTest]
[-RegularExpressions::ProhibitComplexRegexes]
[-RegularExpressions::ProhibitEnumeratedClasses]
[-RegularExpressions::ProhibitEscapedMetacharacters]
[-RegularExpressions::ProhibitFixedStringMatches]
[-RegularExpressions::RequireDefault]
[-RegularExpressions::RequireDotMatchAnything]
[-RegularExpressions::RequireExtendedFormatting]
[-RegularExpressions::RequireExtendedFormattingExceptForSplit]
[-RegularExpressions::RequireLineBoundaryMatching]
[-Reneeb::ProhibitBlockEval]
[-Subroutines::ProhibitAmbiguousFunctionCalls]
[-Subroutines::ProhibitCallsToUndeclaredSubs]
[-Subroutines::ProhibitCallsToUnexportedSubs]
[-Subroutines::ProhibitExcessComplexity]
[-Subroutines::ProhibitExplicitReturnUndef]
[-Subroutines::ProhibitExportingUndeclaredSubs]
[-Subroutines::ProhibitManyArgs]
[-Subroutines::ProtectPrivateSubs]
[-Subroutines::RequireArgUnpacking]
[-TestingAndDebugging::ProhibitNoWarnings]
[-TestingAndDebugging::RequireTestLabels]
[-Tics::ProhibitLongLines]
[-Tics::ProhibitManyArrows]
[-TooMuchCode::ProhibitDuplicateLiteral]
[-TooMuchCode::ProhibitDuplicateSub]
[-TooMuchCode::ProhibitUnusedConstant]
[-ValuesAndExpressions::PreventSQLInjection]
[-ValuesAndExpressions::ProhibitAccessOfPrivateData]
[-ValuesAndExpressions::ProhibitCommaSeparatedStatements]
[-ValuesAndExpressions::ProhibitConstantPragma]
[-ValuesAndExpressions::ProhibitEmptyQuotes]
[-ValuesAndExpressions::ProhibitImplicitNewlines]
[-ValuesAndExpressions::ProhibitMagicNumbers]
[-ValuesAndExpressions::ProhibitMixedBooleanOperators]
[-ValuesAndExpressions::ProhibitNoisyQuotes]
[-ValuesAndExpressions::ProhibitNoisyQuotes]
[-ValuesAndExpressions::RequireConstantOnLeftSideOfEquality]
[-ValuesAndExpressions::RequireInterpolationOfMetachars]
[-ValuesAndExpressions::RequireNumberSeparators]
[-ValuesAndExpressions::RequireNumericVersion]
[-ValuesAndExpressions::RestrictLongStrings]
[-Variables::ProhibitConditionalDeclarations]
[-Variables::ProhibitLocalVars]
[-Variables::ProhibitPackageVars]
[-Variables::ProhibitPunctuationVars]
[-Variables::RequireHungarianNotation]
[-Variables::RequireInitializationForLocalVars]
[-Variables::RequireLocalizedPunctuationVars]
## Mostly needed for the test files
[-BuiltinFunctions::ProhibitSleepViaSelect]
[-ErrorHandling::RequireUseOfExceptions]
[-Modules::PerlMinimumVersion]
[-Modules::RequirePerlVersion]
[-Modules::RequireVersionVar]
[-ValuesAndExpressions::ProhibitEscapedCharacters]
## Does not seem to work, but here anyway:
[-NamingConventions::Capitalization]
[Perlsecret]
allow_secrets = Bang Bang, Venus, Key of Truth