mirror of
https://github.com/elastic/logstash.git
synced 2025-06-28 01:37:28 -04:00
Rubocop: Enable SpaceBefore cops (#15197)
Enables the following cops: * Layout/SpaceBeforeBlockBraces * Layout/SpaceBeforeBrackets * Layout/SpaceBeforeComma * Layout/SpaceBeforeComment * Layout/SpaceBeforeFirstArg * Layout/SpaceBeforeSemicolon
This commit is contained in:
parent
4255a8fd1c
commit
2165d43e1a
57 changed files with 147 additions and 147 deletions
24
.rubocop.yml
24
.rubocop.yml
|
@ -77,6 +77,18 @@ Layout/SpaceAroundMethodCallOperator:
|
|||
Enabled: true
|
||||
Layout/SpaceAroundOperators:
|
||||
Enabled: true
|
||||
Layout/SpaceBeforeBlockBraces:
|
||||
Enabled: true
|
||||
Layout/SpaceBeforeBrackets:
|
||||
Enabled: true
|
||||
Layout/SpaceBeforeComma:
|
||||
Enabled: true
|
||||
Layout/SpaceBeforeComment:
|
||||
Enabled: true
|
||||
Layout/SpaceBeforeFirstArg:
|
||||
Enabled: true
|
||||
Layout/SpaceBeforeSemicolon:
|
||||
Enabled: true
|
||||
|
||||
##### Need review #####
|
||||
Layout/AccessModifierIndentation:
|
||||
|
@ -199,18 +211,6 @@ Layout/SpaceAfterMethodName:
|
|||
Enabled: false
|
||||
Layout/SpaceAfterNot:
|
||||
Enabled: false
|
||||
Layout/SpaceBeforeBlockBraces:
|
||||
Enabled: false
|
||||
Layout/SpaceBeforeBrackets:
|
||||
Enabled: false
|
||||
Layout/SpaceBeforeComma:
|
||||
Enabled: false
|
||||
Layout/SpaceBeforeComment:
|
||||
Enabled: false
|
||||
Layout/SpaceBeforeFirstArg:
|
||||
Enabled: false
|
||||
Layout/SpaceBeforeSemicolon:
|
||||
Enabled: false
|
||||
Layout/SpaceInLambdaLiteral:
|
||||
Enabled: false
|
||||
Layout/SpaceInsideArrayLiteralBrackets:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue