@@ -22,6 +22,15 @@ I18n/GetText/DecorateStringFormattingUsingPercent:
2222I18n/RailsI18n/DecorateString :
2323 Enabled : false
2424
25+ Lint/AmbiguousAssignment : # new in 1.7
26+ Enabled : false
27+
28+ Lint/AmbiguousOperatorPrecedence : # new in 1.21
29+ Enabled : false
30+
31+ Lint/AmbiguousRange : # new in 1.19
32+ Enabled : false
33+
2534# Configuration parameters: AllowedMethods.
2635# AllowedMethods: enums
2736Lint/ConstantDefinitionInBlock :
@@ -42,9 +51,51 @@ Lint/ConstantDefinitionInBlock:
4251 - ' lib/puppet/type/schedule.rb'
4352 - ' lib/puppet/type/tidy.rb'
4453
54+ Lint/ConstantOverwrittenInRescue : # new in 1.31
55+ Enabled : false
56+
57+ Lint/DeprecatedConstants : # new in 1.8
58+ Enabled : false
59+
60+ Lint/DuplicateBranch : # new in 1.3
61+ Enabled : false
62+
63+ Lint/DuplicateMagicComment : # new in 1.37
64+ Enabled : false
65+
66+ Lint/DuplicateMatchPattern : # new in 1.50
67+ Enabled : false
68+
69+ Lint/DuplicateRegexpCharacterClassElement : # new in 1.1
70+ Enabled : false
71+
72+ Lint/EmptyBlock : # new in 1.1
73+ Enabled : false
74+
75+ Lint/EmptyClass : # new in 1.3
76+ Enabled : false
77+
78+ Lint/EmptyInPattern : # new in 1.16
79+ Enabled : false
80+
81+ Lint/IncompatibleIoSelectWithFiberScheduler : # new in 1.21
82+ Enabled : false
83+
84+ Lint/ItWithoutArgumentsInBlock : # new in 1.59
85+ Enabled : false
86+
87+ Lint/LambdaWithoutLiteralBlock : # new in 1.8
88+ Enabled : false
89+
90+ Lint/LiteralAssignmentInCondition : # new in 1.58
91+ Enabled : false
92+
4593Lint/MissingSuper :
4694 Enabled : false
4795
96+ Lint/MixedCaseRange : # new in 1.53
97+ Enabled : false
98+
4899Lint/NestedMethodDefinition :
49100 Exclude :
50101 - ' lib/puppet/pops/types/p_binary_type.rb'
@@ -59,6 +110,33 @@ Lint/NestedMethodDefinition:
59110 - ' lib/puppet/pops/types/types.rb'
60111 - ' lib/puppet/type.rb'
61112
113+ Lint/NonAtomicFileOperation : # new in 1.31
114+ Enabled : false
115+
116+ Lint/NoReturnInBeginEndBlocks : # new in 1.2
117+ Enabled : false
118+
119+ Lint/NumberedParameterAssignment : # new in 1.9
120+ Enabled : false
121+
122+ Lint/OrAssignmentToConstant : # new in 1.9
123+ Enabled : false
124+
125+ Lint/RedundantDirGlobSort : # new in 1.8
126+ Enabled : false
127+
128+ Lint/RedundantRegexpQuantifiers : # new in 1.53
129+ Enabled : false
130+
131+ Lint/RefinementImportMethods : # new in 1.27
132+ Enabled : false
133+
134+ Lint/RequireRangeParentheses : # new in 1.32
135+ Enabled : false
136+
137+ Lint/RequireRelativeSelfPath : # new in 1.22
138+ Enabled : false
139+
62140Lint/RescueException :
63141 Exclude :
64142 - ' ext/windows/service/daemon.rb'
@@ -88,18 +166,39 @@ Lint/SuppressedException:
88166 - ' lib/puppet/util/execution.rb'
89167 - ' util/rspec_grouper'
90168
169+ Lint/SymbolConversion : # new in 1.9
170+ Enabled : false
171+
172+ Lint/ToEnumArguments : # new in 1.1
173+ Enabled : false
174+
91175# This cop supports safe auto-correction (--auto-correct).
92176Lint/ToJSON :
93177 Exclude :
94178 - ' lib/puppet/module_tool/metadata.rb'
95179 - ' lib/puppet/network/http/error.rb'
96180 - ' lib/puppet/pops/serialization/json.rb'
97181
182+ Lint/TripleQuotes : # new in 1.9
183+ Enabled : false
184+
185+ Lint/UnexpectedBlockArity : # new in 1.5
186+ Enabled : false
187+
188+ Lint/UnmodifiedReduceAccumulator : # new in 1.1
189+ Enabled : false
190+
98191# This cop supports safe auto-correction (--auto-correct).
99192# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods.
100193Lint/UnusedMethodArgument :
101194 Enabled : false
102195
196+ Lint/UselessRescue : # new in 1.43
197+ Enabled : false
198+
199+ Lint/UselessRuby2Keywords : # new in 1.23
200+ Enabled : false
201+
103202Performance/BlockGivenWithExplicitBlock : # new in 1.9
104203 Enabled : false
105204
0 commit comments