@@ -22,6 +22,15 @@ I18n/GetText/DecorateStringFormattingUsingPercent:
22
22
I18n/RailsI18n/DecorateString :
23
23
Enabled : false
24
24
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
+
25
34
# Configuration parameters: AllowedMethods.
26
35
# AllowedMethods: enums
27
36
Lint/ConstantDefinitionInBlock :
@@ -42,9 +51,51 @@ Lint/ConstantDefinitionInBlock:
42
51
- ' lib/puppet/type/schedule.rb'
43
52
- ' lib/puppet/type/tidy.rb'
44
53
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
+
45
93
Lint/MissingSuper :
46
94
Enabled : false
47
95
96
+ Lint/MixedCaseRange : # new in 1.53
97
+ Enabled : false
98
+
48
99
Lint/NestedMethodDefinition :
49
100
Exclude :
50
101
- ' lib/puppet/pops/types/p_binary_type.rb'
@@ -59,6 +110,33 @@ Lint/NestedMethodDefinition:
59
110
- ' lib/puppet/pops/types/types.rb'
60
111
- ' lib/puppet/type.rb'
61
112
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
+
62
140
Lint/RescueException :
63
141
Exclude :
64
142
- ' ext/windows/service/daemon.rb'
@@ -88,18 +166,39 @@ Lint/SuppressedException:
88
166
- ' lib/puppet/util/execution.rb'
89
167
- ' util/rspec_grouper'
90
168
169
+ Lint/SymbolConversion : # new in 1.9
170
+ Enabled : false
171
+
172
+ Lint/ToEnumArguments : # new in 1.1
173
+ Enabled : false
174
+
91
175
# This cop supports safe auto-correction (--auto-correct).
92
176
Lint/ToJSON :
93
177
Exclude :
94
178
- ' lib/puppet/module_tool/metadata.rb'
95
179
- ' lib/puppet/network/http/error.rb'
96
180
- ' lib/puppet/pops/serialization/json.rb'
97
181
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
+
98
191
# This cop supports safe auto-correction (--auto-correct).
99
192
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods.
100
193
Lint/UnusedMethodArgument :
101
194
Enabled : false
102
195
196
+ Lint/UselessRescue : # new in 1.43
197
+ Enabled : false
198
+
199
+ Lint/UselessRuby2Keywords : # new in 1.23
200
+ Enabled : false
201
+
103
202
Performance/BlockGivenWithExplicitBlock : # new in 1.9
104
203
Enabled : false
105
204
0 commit comments