Skip to content

Commit

Permalink
Add support for new features in rubocop@0.82.0
Browse files Browse the repository at this point in the history
  • Loading branch information
searls committed May 4, 2020
1 parent 7685728 commit d663ea6
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion config/base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Layout/ArgumentAlignment:

Layout/ArrayAlignment:
Enabled: true
EnforcedStyle: with_fixed_indentation

Layout/HashAlignment:
Enabled: true
Expand Down Expand Up @@ -328,6 +329,7 @@ Lint/BigDecimalNew:

Lint/BooleanSymbol:
Enabled: true
AutoCorrect: true

Lint/CircularArgumentReference:
Enabled: true
Expand Down Expand Up @@ -434,9 +436,15 @@ Lint/ParenthesesAsGroupedExpression:
Lint/PercentSymbolArray:
Enabled: true

Lint/RaiseException:
Enabled: true

Lint/RandOne:
Enabled: true

Lint/RedundantStringCoercion:
Enabled: true

Lint/RedundantWithIndex:
Enabled: true

Expand Down Expand Up @@ -483,7 +491,7 @@ Lint/ShadowedArgument:
Lint/ShadowedException:
Enabled: true

Lint/RedundantStringCoercion:
Layout/SpaceAroundMethodCallOperator:
Enabled: true

Lint/Syntax:
Expand Down Expand Up @@ -766,6 +774,7 @@ Style/Encoding:

Style/EndBlock:
Enabled: true
AutoCorrect: true

Style/EvalWithLocation:
Enabled: true
Expand Down Expand Up @@ -1012,6 +1021,9 @@ Style/TrailingCommaInArrayLiteral:
Enabled: true
EnforcedStyleForMultiline: no_comma

Style/TrailingCommaInBlockArgs:
Enabled: true

Style/TrailingCommaInHashLiteral:
Enabled: true
EnforcedStyleForMultiline: no_comma
Expand Down

0 comments on commit d663ea6

Please sign in to comment.