11---
22
3- require :
3+ plugins :
44- rubocop-minitest
55- rubocop-rake
66
@@ -46,6 +46,9 @@ Lint/AmbiguousOperatorPrecedence:
4646Lint/AmbiguousRange :
4747 Enabled : true
4848
49+ Lint/ArrayLiteralInRegexp :
50+ Enabled : true
51+
4952Lint/BinaryOperatorWithIdenticalOperands :
5053 Enabled : true
5154
@@ -55,6 +58,12 @@ Lint/ConstantDefinitionInBlock:
5558Lint/ConstantOverwrittenInRescue :
5659 Enabled : true
5760
61+ Lint/ConstantReassignment :
62+ Enabled : true
63+
64+ Lint/CopDirectiveSyntax :
65+ Enabled : true
66+
5867Lint/DeprecatedConstants :
5968 Enabled : true
6069
@@ -103,6 +112,9 @@ Lint/EmptyInPattern:
103112Lint/FloatComparison :
104113 Enabled : true
105114
115+ Lint/HashNewWithKeywordArgumentsAsDefault :
116+ Enabled : true
117+
106118Lint/IdentityComparison :
107119 Enabled : true
108120
@@ -136,6 +148,9 @@ Lint/NonAtomicFileOperation:
136148Lint/NumberedParameterAssignment :
137149 Enabled : true
138150
151+ Lint/NumericOperationWithConstantResult :
152+ Enabled : true
153+
139154Lint/OrAssignmentToConstant :
140155 Enabled : true
141156
@@ -151,6 +166,9 @@ Lint/RedundantDirGlobSort:
151166Lint/RedundantRegexpQuantifiers :
152167 Enabled : true
153168
169+ Lint/RedundantTypeConversion :
170+ Enabled : true
171+
154172Lint/RefinementImportMethods :
155173 Enabled : true
156174
@@ -163,9 +181,15 @@ Lint/RequireRelativeSelfPath:
163181Lint/SelfAssignment :
164182 Enabled : true
165183
184+ Lint/SharedMutableDefault :
185+ Enabled : true
186+
166187Lint/StructNewOverride :
167188 Enabled : true
168189
190+ Lint/SuppressedExceptionInNumberConversion :
191+ Enabled : true
192+
169193Lint/SymbolConversion :
170194 Enabled : true
171195
@@ -181,6 +205,9 @@ Lint/TrailingCommaInAttributeDeclaration:
181205Lint/TripleQuotes :
182206 Enabled : true
183207
208+ Lint/UnescapedBracketInRegexp :
209+ Enabled : true
210+
184211Lint/UnexpectedBlockArity :
185212 Enabled : true
186213
@@ -190,6 +217,12 @@ Lint/UnmodifiedReduceAccumulator:
190217Lint/UnreachableLoop :
191218 Enabled : true
192219
220+ Lint/UselessConstantScoping :
221+ Enabled : true
222+
223+ Lint/UselessDefined :
224+ Enabled : true
225+
193226Lint/UselessMethodDefinition :
194227 Enabled : true
195228
@@ -326,6 +359,9 @@ Security/IoMethods:
326359Style/AccessorGrouping :
327360 Enabled : true
328361
362+ Style/AmbiguousEndlessMethodDefinition :
363+ Enabled : true
364+
329365Style/ArgumentsForwarding :
330366 Enabled : true
331367
@@ -338,15 +374,24 @@ Style/ArrayIntersect:
338374Style/BisectedAttrAccessor :
339375 Enabled : true
340376
377+ Style/BitwisePredicate :
378+ Enabled : true
379+
341380Style/CaseLikeIf :
342381 Enabled : true
343382
344383Style/CollectionCompact :
345384 Enabled : true
346385
386+ Style/CombinableDefined :
387+ Enabled : true
388+
347389Style/CombinableLoops :
348390 Enabled : true
349391
392+ Style/ComparableBetween :
393+ Enabled : true
394+
350395Style/ComparableClamp :
351396 Enabled : true
352397
@@ -356,6 +401,9 @@ Style/ConcatArrayLiterals:
356401Style/DataInheritance :
357402 Enabled : true
358403
404+ Style/DigChain :
405+ Enabled : true
406+
359407Style/DirEmpty :
360408 Enabled : true
361409
@@ -386,9 +434,15 @@ Style/FetchEnvVar:
386434Style/FileEmpty :
387435 Enabled : true
388436
437+ Style/FileNull :
438+ Enabled : true
439+
389440Style/FileRead :
390441 Enabled : true
391442
443+ Style/FileTouch :
444+ Enabled : true
445+
392446Style/FileWrite :
393447 Enabled : true
394448
@@ -407,9 +461,15 @@ Style/HashEachMethods:
407461Style/HashExcept :
408462 Enabled : true
409463
464+ Style/HashFetchChain :
465+ Enabled : true
466+
410467Style/HashLikeCase :
411468 Enabled : true
412469
470+ Style/HashSlice :
471+ Enabled : true
472+
413473Style/HashTransformKeys :
414474 Enabled : true
415475
@@ -422,6 +482,15 @@ Style/IfWithBooleanLiteralBranches:
422482Style/InPatternThen :
423483 Enabled : true
424484
485+ Style/ItAssignment :
486+ Enabled : true
487+
488+ Style/ItBlockParameter :
489+ Enabled : true
490+
491+ Style/KeywordArgumentsMerging :
492+ Enabled : true
493+
425494Style/KeywordParametersOrder :
426495 Enabled : true
427496
@@ -506,6 +575,9 @@ Style/RedundantFileExtensionInRequire:
506575Style/RedundantFilterChain :
507576 Enabled : true
508577
578+ Style/RedundantFormat :
579+ Enabled : true
580+
509581Style/RedundantHeredocDelimiterQuotes :
510582 Enabled : true
511583
@@ -542,6 +614,9 @@ Style/RedundantStringEscape:
542614Style/ReturnNilInPredicateMethodDefinition :
543615 Enabled : true
544616
617+ Style/SafeNavigationChainLength :
618+ Enabled : true
619+
545620Style/SelectByRegexp :
546621 Enabled : true
547622
0 commit comments