1+ require : rubocop-performance
12inherit_from : .rubocop_todo.yml
23
34AllCops :
@@ -34,7 +35,7 @@ Lint/EnsureReturn:
3435 Enabled : false
3536
3637# MAYBE useful - errors when rescue {} happens.
37- Lint/HandleExceptions :
38+ Lint/SuppressedException :
3839 Enabled : false
3940
4041# MAYBE useful - but too many instances
@@ -119,7 +120,7 @@ Lint/ParenthesesAsGroupedExpression:
119120Lint/RescueException :
120121 Enabled : false
121122
122- Lint/StringConversionInInterpolation :
123+ Lint/RedundantStringCoercion :
123124 Enabled : false
124125
125126Lint/UnusedBlockArgument :
@@ -143,13 +144,13 @@ Naming/AccessorMethodName:
143144Style/Alias :
144145 Enabled : false
145146
146- Layout/AlignArray :
147+ Layout/ArrayAlignment :
147148 Enabled : false
148149
149- Layout/AlignHash :
150+ Layout/HashAlignment :
150151 Enabled : false
151152
152- Layout/AlignParameters :
153+ Layout/ParameterAlignment :
153154 Enabled : false
154155
155156Metrics/BlockNesting :
@@ -161,9 +162,6 @@ Style/AsciiComments:
161162Style/Attr :
162163 Enabled : false
163164
164- Style/BracesAroundHashParameters :
165- Enabled : false
166-
167165Style/CaseEquality :
168166 Enabled : false
169167
@@ -198,7 +196,7 @@ Style/WhenThen:
198196Style/WordArray :
199197 Enabled : false
200198
201- Style/UnneededPercentQ :
199+ Style/RedundantPercentQ :
202200 Enabled : false
203201
204202Layout/Tab :
@@ -207,7 +205,7 @@ Layout/Tab:
207205Layout/SpaceBeforeSemicolon :
208206 Enabled : false
209207
210- Layout/TrailingBlankLines :
208+ Layout/TrailingEmptyLines :
211209 Enabled : false
212210
213211Layout/SpaceInsideBlockBraces :
@@ -292,10 +290,10 @@ Style/EachWithObject:
292290Layout/EmptyLineBetweenDefs :
293291 Enabled : false
294292
295- Layout/IndentArray :
293+ Layout/FirstArrayElementIndentation :
296294 Enabled : false
297295
298- Layout/IndentHash :
296+ Layout/FirstHashElementIndentation :
299297 Enabled : false
300298
301299Layout/IndentationConsistency :
@@ -313,7 +311,7 @@ Layout/EmptyLinesAroundAccessModifier:
313311Style/EmptyLiteral :
314312 Enabled : false
315313
316- Metrics /LineLength :
314+ Layout /LineLength :
317315 Enabled : false
318316
319317Style/MethodCallWithoutArgsParentheses :
@@ -526,7 +524,7 @@ Layout/EmptyLinesAroundBlockBody:
526524Layout/EmptyLinesAroundClassBody :
527525 Enabled : false
528526
529- Style/UnneededInterpolation :
527+ Style/RedundantInterpolation :
530528 Enabled : false
531529
532530Style/SymbolProc :
@@ -575,5 +573,21 @@ Naming/VariableNumber:
575573Layout/EndOfLine :
576574 EnforcedStyle : lf
577575
578- Layout/IndentHeredoc : # Not appicable on Ruby 2.1
576+ Layout/HeredocIndentation : # Not appicable on Ruby 2.1
579577 Enabled : false
578+
579+ Lint/RaiseException :
580+ Enabled : true
581+
582+ Lint/StructNewOverride :
583+ Enabled : true
584+
585+ Style/HashEachMethods :
586+ Enabled : true
587+
588+ Style/HashTransformKeys :
589+ Enabled : false # requires Ruby 2.5
590+
591+ Style/HashTransformValues :
592+ Enabled : false # requires Ruby 2.4
593+
0 commit comments