@@ -16,10 +16,18 @@ Gemspec/DeprecatedAttributeAssignment:
16
16
Enabled : true
17
17
Gemspec/RequireMFA :
18
18
Enabled : true
19
+ Gemspec/AddRuntimeDependency :
20
+ Enabled : true
21
+ Gemspec/DevelopmentDependencies :
22
+ Enabled : true
19
23
Layout/LineEndStringConcatenationIndentation :
20
24
Enabled : true
21
25
Layout/SpaceBeforeBrackets :
22
26
Enabled : true
27
+ Layout/LineContinuationLeadingSpace :
28
+ Enabled : true
29
+ Layout/LineContinuationSpacing :
30
+ Enabled : true
23
31
Lint/AmbiguousAssignment :
24
32
Enabled : true
25
33
Lint/AmbiguousOperatorPrecedence :
@@ -64,6 +72,46 @@ Lint/UnmodifiedReduceAccumulator:
64
72
Enabled : true
65
73
Lint/UselessRuby2Keywords :
66
74
Enabled : true
75
+ Lint/ArrayLiteralInRegexp :
76
+ Enabled : true
77
+ Lint/ConstantOverwrittenInRescue :
78
+ Enabled : true
79
+ Lint/ConstantReassignment :
80
+ Enabled : true
81
+ Lint/DuplicateMagicComment :
82
+ Enabled : true
83
+ Lint/DuplicateMatchPattern :
84
+ Enabled : true
85
+ Lint/DuplicateSetElement :
86
+ Enabled : true
87
+ Lint/HashNewWithKeywordArgumentsAsDefault :
88
+ Enabled : true
89
+ Lint/ItWithoutArgumentsInBlock :
90
+ Enabled : true
91
+ Lint/LiteralAssignmentInCondition :
92
+ Enabled : true
93
+ Lint/MixedCaseRange :
94
+ Enabled : true
95
+ Lint/NonAtomicFileOperation :
96
+ Enabled : true
97
+ Lint/NumericOperationWithConstantResult :
98
+ Enabled : true
99
+ Lint/RedundantRegexpQuantifiers :
100
+ Enabled : true
101
+ Lint/RefinementImportMethods :
102
+ Enabled : true
103
+ Lint/RequireRangeParentheses :
104
+ Enabled : true
105
+ Lint/SharedMutableDefault :
106
+ Enabled : true
107
+ Lint/UnescapedBracketInRegexp :
108
+ Enabled : true
109
+ Lint/UselessDefined :
110
+ Enabled : true
111
+ Lint/UselessNumericOperation :
112
+ Enabled : true
113
+ Lint/UselessRescue :
114
+ Enabled : true
67
115
Naming/BlockForwarding :
68
116
Enabled : true
69
117
Metrics/AbcSize :
@@ -92,8 +140,12 @@ Metrics/PerceivedComplexity:
92
140
Enabled : true
93
141
AllowedMethods :
94
142
- detect_line_tag
143
+ Metrics/CollectionLiteralLength :
144
+ Enabled : true
95
145
Security/IoMethods :
96
146
Enabled : true
147
+ Security/CompoundHash :
148
+ Enabled : true
97
149
Style/ArgumentsForwarding :
98
150
Enabled : true
99
151
Style/CollectionCompact :
@@ -148,159 +200,106 @@ Style/StringChars:
148
200
Enabled : true
149
201
Style/SwapValues :
150
202
Enabled : true
151
-
152
-
153
- # Rubocop extensions
154
- require :
155
- - rubocop-rake
156
-
157
- # Reference: https://github.com/rubocop/rubocop-rake/blob/master/config/default.yml
158
- Rake :
159
- Enabled : true
160
-
161
-
162
-
163
- Gemspec/AddRuntimeDependency : # new in 1.65
164
- Enabled : true
165
- Gemspec/DevelopmentDependencies : # new in 1.44
166
- Enabled : true
167
- Layout/LineContinuationLeadingSpace : # new in 1.31
168
- Enabled : true
169
- Layout/LineContinuationSpacing : # new in 1.31
170
- Enabled : true
171
- Lint/ArrayLiteralInRegexp : # new in 1.71
172
- Enabled : true
173
- Lint/ConstantOverwrittenInRescue : # new in 1.31
174
- Enabled : true
175
- Lint/ConstantReassignment : # new in 1.70
176
- Enabled : true
177
- Lint/DuplicateMagicComment : # new in 1.37
178
- Enabled : true
179
- Lint/DuplicateMatchPattern : # new in 1.50
180
- Enabled : true
181
- Lint/DuplicateSetElement : # new in 1.67
182
- Enabled : true
183
- Lint/HashNewWithKeywordArgumentsAsDefault : # new in 1.69
184
- Enabled : true
185
- Lint/ItWithoutArgumentsInBlock : # new in 1.59
186
- Enabled : true
187
- Lint/LiteralAssignmentInCondition : # new in 1.58
188
- Enabled : true
189
- Lint/MixedCaseRange : # new in 1.53
190
- Enabled : true
191
- Lint/NonAtomicFileOperation : # new in 1.31
192
- Enabled : true
193
- Lint/NumericOperationWithConstantResult : # new in 1.69
194
- Enabled : true
195
- Lint/RedundantRegexpQuantifiers : # new in 1.53
203
+ Style/AmbiguousEndlessMethodDefinition :
196
204
Enabled : true
197
- Lint/RefinementImportMethods : # new in 1.27
205
+ Style/ArrayIntersect :
198
206
Enabled : true
199
- Lint/RequireRangeParentheses : # new in 1.32
207
+ Style/BitwisePredicate :
200
208
Enabled : true
201
- Lint/SharedMutableDefault : # new in 1.70
209
+ Style/CombinableDefined :
202
210
Enabled : true
203
- Lint/UnescapedBracketInRegexp : # new in 1.68
211
+ Style/ComparableClamp :
204
212
Enabled : true
205
- Lint/UselessDefined : # new in 1.69
213
+ Style/ConcatArrayLiterals :
206
214
Enabled : true
207
- Lint/UselessNumericOperation : # new in 1.66
215
+ Style/DataInheritance :
208
216
Enabled : true
209
- Lint/UselessRescue : # new in 1.43
217
+ Style/DigChain :
210
218
Enabled : true
211
- Metrics/CollectionLiteralLength : # new in 1.47
219
+ Style/DirEmpty :
212
220
Enabled : true
213
- Security/CompoundHash : # new in 1.28
221
+ Style/EmptyHeredoc :
214
222
Enabled : true
215
- Style/AmbiguousEndlessMethodDefinition : # new in 1.68
223
+ Style/EnvHome :
216
224
Enabled : true
217
- Style/ArrayIntersect : # new in 1.40
225
+ Style/ExactRegexpMatch :
218
226
Enabled : true
219
- Style/BitwisePredicate : # new in 1.68
227
+ Style/FetchEnvVar :
220
228
Enabled : true
221
- Style/CombinableDefined : # new in 1.68
229
+ Style/FileEmpty :
222
230
Enabled : true
223
- Style/ComparableClamp : # new in 1.44
231
+ Style/FileNull :
224
232
Enabled : true
225
- Style/ConcatArrayLiterals : # new in 1.41
233
+ Style/FileTouch :
226
234
Enabled : true
227
- Style/DataInheritance : # new in 1.49
235
+ Style/HashSlice :
228
236
Enabled : true
229
- Style/DigChain : # new in 1.69
237
+ Style/ItAssignment :
230
238
Enabled : true
231
- Style/DirEmpty : # new in 1.48
239
+ Style/KeywordArgumentsMerging :
232
240
Enabled : true
233
- Style/EmptyHeredoc : # new in 1.32
241
+ Style/MagicCommentFormat :
234
242
Enabled : true
235
- Style/EnvHome : # new in 1.29
243
+ Style/MapCompactWithConditionalBlock :
236
244
Enabled : true
237
- Style/ExactRegexpMatch : # new in 1.51
245
+ Style/MapIntoArray :
238
246
Enabled : true
239
- Style/FetchEnvVar : # new in 1.28
247
+ Style/MapToSet :
240
248
Enabled : true
241
- Style/FileEmpty : # new in 1.48
249
+ Style/MinMaxComparison :
242
250
Enabled : true
243
- Style/FileNull : # new in 1.69
251
+ Style/ObjectThen :
244
252
Enabled : true
245
- Style/FileTouch : # new in 1.69
253
+ Style/OperatorMethodCall :
246
254
Enabled : true
247
- Style/HashSlice : # new in 1.71
255
+ Style/RedundantArrayConstructor :
248
256
Enabled : true
249
- Style/ItAssignment : # new in 1.70
257
+ Style/RedundantConstantBase :
250
258
Enabled : true
251
- Style/KeywordArgumentsMerging : # new in 1.68
259
+ Style/RedundantCurrentDirectoryInPath :
252
260
Enabled : true
253
- Style/MagicCommentFormat : # new in 1.35
261
+ Style/RedundantDoubleSplatHashBraces :
254
262
Enabled : true
255
- Style/MapCompactWithConditionalBlock : # new in 1.30
263
+ Style/RedundantEach :
256
264
Enabled : true
257
- Style/MapIntoArray : # new in 1.63
265
+ Style/RedundantFilterChain :
258
266
Enabled : true
259
- Style/MapToSet : # new in 1.42
267
+ Style/RedundantHeredocDelimiterQuotes :
260
268
Enabled : true
261
- Style/MinMaxComparison : # new in 1.42
269
+ Style/RedundantInitialize :
262
270
Enabled : true
263
- Style/ObjectThen : # new in 1.28
271
+ Style/RedundantInterpolationUnfreeze :
264
272
Enabled : true
265
- Style/OperatorMethodCall : # new in 1.37
273
+ Style/RedundantLineContinuation :
266
274
Enabled : true
267
- Style/RedundantArrayConstructor : # new in 1.52
275
+ Style/RedundantRegexpArgument :
268
276
Enabled : true
269
- Style/RedundantConstantBase : # new in 1.40
277
+ Style/RedundantRegexpConstructor :
270
278
Enabled : true
271
- Style/RedundantCurrentDirectoryInPath : # new in 1.53
279
+ Style/RedundantStringEscape :
272
280
Enabled : true
273
- Style/RedundantDoubleSplatHashBraces : # new in 1.41
281
+ Style/ReturnNilInPredicateMethodDefinition :
274
282
Enabled : true
275
- Style/RedundantEach : # new in 1.38
283
+ Style/SafeNavigationChainLength :
276
284
Enabled : true
277
- Style/RedundantFilterChain : # new in 1.52
285
+ Style/SendWithLiteralMethodName :
278
286
Enabled : true
279
- Style/RedundantHeredocDelimiterQuotes : # new in 1.45
287
+ Style/SingleLineDoEndBlock :
280
288
Enabled : true
281
- Style/RedundantInitialize : # new in 1.27
289
+ Style/SuperArguments :
282
290
Enabled : true
283
- Style/RedundantInterpolationUnfreeze : # new in 1.66
291
+ Style/SuperWithArgsParentheses :
284
292
Enabled : true
285
- Style/RedundantLineContinuation : # new in 1.49
293
+ Style/YAMLFileRead :
286
294
Enabled : true
287
- Style/RedundantRegexpArgument : # new in 1.53
288
- Enabled : true
289
- Style/RedundantRegexpConstructor : # new in 1.52
290
- Enabled : true
291
- Style/RedundantStringEscape : # new in 1.37
292
- Enabled : true
293
- Style/ReturnNilInPredicateMethodDefinition : # new in 1.53
294
- Enabled : true
295
- Style/SafeNavigationChainLength : # new in 1.68
296
- Enabled : true
297
- Style/SendWithLiteralMethodName : # new in 1.64
298
- Enabled : true
299
- Style/SingleLineDoEndBlock : # new in 1.57
300
- Enabled : true
301
- Style/SuperArguments : # new in 1.64
302
- Enabled : true
303
- Style/SuperWithArgsParentheses : # new in 1.58
295
+
296
+
297
+ # Rubocop extensions
298
+ require :
299
+ - rubocop-rake
300
+
301
+ # Reference: https://github.com/rubocop/rubocop-rake/blob/master/config/default.yml
302
+ Rake :
304
303
Enabled : true
305
- Style/YAMLFileRead : # new in 1.53
306
- Enabled : true
304
+
305
+
0 commit comments