mirror of
https://github.com/elastic/logstash.git
synced 2025-04-19 04:15:23 -04:00
Rubocop: Enable most SpaceInside cops (#15201)
Enabled: * SpaceInsideArrayLiteralBrackets * SpaceInsideParens * SpaceInsidePercentLiteralDelimiters * SpaceInsideStringInterpolation * Add enforced style for SpaceInsideStringInterpolation Enabled without offenses: * SpaceInsideArrayPercentLiteral * Layout/SpaceInsideRangeLiteral * Layout/SpaceInsideReferenceBrackets
This commit is contained in:
parent
0f8695593e
commit
cf67cb1377
59 changed files with 185 additions and 181 deletions
32
.rubocop.yml
32
.rubocop.yml
|
@ -89,6 +89,24 @@ Layout/SpaceBeforeFirstArg:
|
|||
Enabled: true
|
||||
Layout/SpaceBeforeSemicolon:
|
||||
Enabled: true
|
||||
Layout/SpaceInsideArrayLiteralBrackets:
|
||||
Enabled: true
|
||||
EnforcedStyle: no_space
|
||||
EnforcedStyleForEmptyBrackets: no_space
|
||||
Layout/SpaceInsideArrayPercentLiteral:
|
||||
Enabled: true # no offenses
|
||||
Layout/SpaceInsideParens:
|
||||
Enabled: true
|
||||
EnforcedStyle: no_space
|
||||
Layout/SpaceInsidePercentLiteralDelimiters:
|
||||
Enabled: true
|
||||
Layout/SpaceInsideRangeLiteral:
|
||||
Enabled: true # no offenses
|
||||
Layout/SpaceInsideReferenceBrackets:
|
||||
Enabled: true # no offenses
|
||||
Layout/SpaceInsideStringInterpolation:
|
||||
Enabled: true
|
||||
EnforcedStyle: no_space
|
||||
|
||||
##### Need review #####
|
||||
Layout/AccessModifierIndentation:
|
||||
|
@ -213,21 +231,7 @@ Layout/SpaceAfterNot:
|
|||
Enabled: false
|
||||
Layout/SpaceInLambdaLiteral:
|
||||
Enabled: false
|
||||
Layout/SpaceInsideArrayLiteralBrackets:
|
||||
Enabled: false
|
||||
Layout/SpaceInsideArrayPercentLiteral:
|
||||
Enabled: false
|
||||
Layout/SpaceInsideBlockBraces:
|
||||
Enabled: false
|
||||
Layout/SpaceInsideHashLiteralBraces:
|
||||
Enabled: false
|
||||
Layout/SpaceInsideParens:
|
||||
Enabled: false
|
||||
Layout/SpaceInsidePercentLiteralDelimiters:
|
||||
Enabled: false
|
||||
Layout/SpaceInsideRangeLiteral:
|
||||
Enabled: false
|
||||
Layout/SpaceInsideReferenceBrackets:
|
||||
Enabled: false
|
||||
Layout/SpaceInsideStringInterpolation:
|
||||
Enabled: false
|
||||
|
|
Loading…
Add table
Reference in a new issue