@@ -16,14 +16,6 @@ AllCops:
1616 - ' tmp/**/*'
1717 - ' spec/smoke_tests/**/*.rb'
1818
19- # Enable when we require rubocop >= 1.71.1 or rubocop-ast >= 1.38.0
20- InternalAffairs/NodePatternGroups :
21- Enabled : false
22-
23- # Enable when we require rubocop >= 1.71.1 or rubocop-ast >= 1.38.0
24- InternalAffairs/NodeTypeMultiplePredicates :
25- Enabled : false
26-
2719InternalAffairs/OnSendWithoutOnCSend :
2820 Enabled : false
2921
@@ -143,7 +135,7 @@ Style/NumberedParameters:
143135Style/RequireOrder :
144136 Enabled : true
145137
146- # Enable RuboCop's pending cops up to v1.71
138+ # Enable RuboCop's pending cops up to v1.72
147139
148140Gemspec/AddRuntimeDependency : {Enabled: true}
149141Gemspec/DeprecatedAttributeAssignment : {Enabled: true}
@@ -159,6 +151,7 @@ Lint/AmbiguousRange: {Enabled: true}
159151Lint/ArrayLiteralInRegexp : {Enabled: true}
160152Lint/ConstantOverwrittenInRescue : {Enabled: true}
161153Lint/ConstantReassignment : {Enabled: true}
154+ Lint/CopDirectiveSyntax : {Enabled: true}
162155Lint/DeprecatedConstants : {Enabled: true}
163156Lint/DuplicateBranch : {Enabled: true}
164157Lint/DuplicateMagicComment : {Enabled: true}
@@ -181,16 +174,19 @@ Lint/NumericOperationWithConstantResult: {Enabled: true}
181174Lint/OrAssignmentToConstant : {Enabled: true}
182175Lint/RedundantDirGlobSort : {Enabled: true}
183176Lint/RedundantRegexpQuantifiers : {Enabled: true}
177+ Lint/RedundantTypeConversion : {Enabled: true}
184178Lint/RefinementImportMethods : {Enabled: true}
185179Lint/RequireRangeParentheses : {Enabled: true}
186180Lint/RequireRelativeSelfPath : {Enabled: true}
187181Lint/SharedMutableDefault : {Enabled: true}
182+ Lint/SuppressedExceptionInNumberConversion : {Enabled: true}
188183Lint/SymbolConversion : {Enabled: true}
189184Lint/ToEnumArguments : {Enabled: true}
190185Lint/TripleQuotes : {Enabled: true}
191186Lint/UnescapedBracketInRegexp : {Enabled: true}
192187Lint/UnexpectedBlockArity : {Enabled: true}
193188Lint/UnmodifiedReduceAccumulator : {Enabled: true}
189+ Lint/UselessConstantScoping : {Enabled: true}
194190Lint/UselessDefined : {Enabled: true}
195191Lint/UselessNumericOperation : {Enabled: true}
196192Lint/UselessRescue : {Enabled: true}
@@ -250,6 +246,7 @@ Style/RedundantCurrentDirectoryInPath: {Enabled: true}
250246Style/RedundantDoubleSplatHashBraces : {Enabled: true}
251247Style/RedundantEach : {Enabled: true}
252248Style/RedundantFilterChain : {Enabled: true}
249+ Style/RedundantFormat : {Enabled: true}
253250Style/RedundantHeredocDelimiterQuotes : {Enabled: true}
254251Style/RedundantInitialize : {Enabled: true}
255252Style/RedundantInterpolationUnfreeze : {Enabled: true}
@@ -269,7 +266,7 @@ Style/SuperWithArgsParentheses: {Enabled: true}
269266Style/SwapValues : {Enabled: true}
270267Style/YAMLFileRead : {Enabled: true}
271268
272- # Enable RuboCop Performance's pending cops up to v1.23
269+ # Enable RuboCop Performance's pending cops up to v1.24
273270
274271Performance/AncestorsInclude : {Enabled: true}
275272Performance/BigDecimalWithNumericArgument : {Enabled: true}
@@ -291,3 +288,4 @@ Performance/StringBytesize: {Enabled: true}
291288Performance/StringIdentifierArgument : {Enabled: true}
292289Performance/StringInclude : {Enabled: true}
293290Performance/Sum : {Enabled: true}
291+ Performance/ZipWithoutBlock : {Enabled: true}
0 commit comments