@@ -12,7 +12,7 @@ inherit_mode:
12
12
- Exclude # Merge my AllCops.Exclude with default exludes from https://github.com/rubocop/rubocop/blob/master/config/default.yml
13
13
14
14
# Standard Cops
15
- Gemspec/DateAssignment :
15
+ Gemspec/DeprecatedAttributeAssignment :
16
16
Enabled : true
17
17
Gemspec/RequireMFA :
18
18
Enabled : true
@@ -68,19 +68,19 @@ Naming/BlockForwarding:
68
68
Enabled : true
69
69
Metrics/AbcSize :
70
70
Enabled : true
71
- IgnoredMethods :
71
+ AllowedMethods :
72
72
- detect_line_tag
73
73
Metrics/ClassLength :
74
74
Enabled : true
75
75
Metrics/CyclomaticComplexity :
76
76
Enabled : true
77
- IgnoredMethods :
77
+ AllowedMethods :
78
78
- detect_line_tag
79
79
- parse_any
80
80
Metrics/MethodLength :
81
81
Enabled : true
82
82
Max : 15
83
- IgnoredMethods :
83
+ AllowedMethods :
84
84
- test_hash_multiline_key_all_cases
85
85
- test_hash_key_line_endings
86
86
- test_array_with_multiple_hash
@@ -90,7 +90,7 @@ Metrics/MethodLength:
90
90
- parse_any
91
91
Metrics/PerceivedComplexity :
92
92
Enabled : true
93
- IgnoredMethods :
93
+ AllowedMethods :
94
94
- detect_line_tag
95
95
Security/IoMethods :
96
96
Enabled : true
@@ -157,3 +157,150 @@ require:
157
157
# Reference: https://github.com/rubocop/rubocop-rake/blob/master/config/default.yml
158
158
Rake :
159
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
196
+ Enabled : true
197
+ Lint/RefinementImportMethods : # new in 1.27
198
+ Enabled : true
199
+ Lint/RequireRangeParentheses : # new in 1.32
200
+ Enabled : true
201
+ Lint/SharedMutableDefault : # new in 1.70
202
+ Enabled : true
203
+ Lint/UnescapedBracketInRegexp : # new in 1.68
204
+ Enabled : true
205
+ Lint/UselessDefined : # new in 1.69
206
+ Enabled : true
207
+ Lint/UselessNumericOperation : # new in 1.66
208
+ Enabled : true
209
+ Lint/UselessRescue : # new in 1.43
210
+ Enabled : true
211
+ Metrics/CollectionLiteralLength : # new in 1.47
212
+ Enabled : true
213
+ Security/CompoundHash : # new in 1.28
214
+ Enabled : true
215
+ Style/AmbiguousEndlessMethodDefinition : # new in 1.68
216
+ Enabled : true
217
+ Style/ArrayIntersect : # new in 1.40
218
+ Enabled : true
219
+ Style/BitwisePredicate : # new in 1.68
220
+ Enabled : true
221
+ Style/CombinableDefined : # new in 1.68
222
+ Enabled : true
223
+ Style/ComparableClamp : # new in 1.44
224
+ Enabled : true
225
+ Style/ConcatArrayLiterals : # new in 1.41
226
+ Enabled : true
227
+ Style/DataInheritance : # new in 1.49
228
+ Enabled : true
229
+ Style/DigChain : # new in 1.69
230
+ Enabled : true
231
+ Style/DirEmpty : # new in 1.48
232
+ Enabled : true
233
+ Style/EmptyHeredoc : # new in 1.32
234
+ Enabled : true
235
+ Style/EnvHome : # new in 1.29
236
+ Enabled : true
237
+ Style/ExactRegexpMatch : # new in 1.51
238
+ Enabled : true
239
+ Style/FetchEnvVar : # new in 1.28
240
+ Enabled : true
241
+ Style/FileEmpty : # new in 1.48
242
+ Enabled : true
243
+ Style/FileNull : # new in 1.69
244
+ Enabled : true
245
+ Style/FileTouch : # new in 1.69
246
+ Enabled : true
247
+ Style/HashSlice : # new in 1.71
248
+ Enabled : true
249
+ Style/ItAssignment : # new in 1.70
250
+ Enabled : true
251
+ Style/KeywordArgumentsMerging : # new in 1.68
252
+ Enabled : true
253
+ Style/MagicCommentFormat : # new in 1.35
254
+ Enabled : true
255
+ Style/MapCompactWithConditionalBlock : # new in 1.30
256
+ Enabled : true
257
+ Style/MapIntoArray : # new in 1.63
258
+ Enabled : true
259
+ Style/MapToSet : # new in 1.42
260
+ Enabled : true
261
+ Style/MinMaxComparison : # new in 1.42
262
+ Enabled : true
263
+ Style/ObjectThen : # new in 1.28
264
+ Enabled : true
265
+ Style/OperatorMethodCall : # new in 1.37
266
+ Enabled : true
267
+ Style/RedundantArrayConstructor : # new in 1.52
268
+ Enabled : true
269
+ Style/RedundantConstantBase : # new in 1.40
270
+ Enabled : true
271
+ Style/RedundantCurrentDirectoryInPath : # new in 1.53
272
+ Enabled : true
273
+ Style/RedundantDoubleSplatHashBraces : # new in 1.41
274
+ Enabled : true
275
+ Style/RedundantEach : # new in 1.38
276
+ Enabled : true
277
+ Style/RedundantFilterChain : # new in 1.52
278
+ Enabled : true
279
+ Style/RedundantHeredocDelimiterQuotes : # new in 1.45
280
+ Enabled : true
281
+ Style/RedundantInitialize : # new in 1.27
282
+ Enabled : true
283
+ Style/RedundantInterpolationUnfreeze : # new in 1.66
284
+ Enabled : true
285
+ Style/RedundantLineContinuation : # new in 1.49
286
+ 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
304
+ Enabled : true
305
+ Style/YAMLFileRead : # new in 1.53
306
+ Enabled : true
0 commit comments