Enable several rubocop cops
This commit is contained in:
parent
cf125e9514
commit
75e995f721
1 changed files with 10 additions and 8 deletions
18
.rubocop.yml
18
.rubocop.yml
|
@ -1,11 +1,11 @@
|
||||||
Bundler/DuplicatedGem:
|
Bundler/DuplicatedGem:
|
||||||
Enabled: false
|
Enabled: true
|
||||||
|
|
||||||
Bundler/OrderedGems:
|
Bundler/OrderedGems:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
||||||
Layout/AccessModifierIndentation:
|
Layout/AccessModifierIndentation:
|
||||||
Enabled: false
|
Enabled: true
|
||||||
|
|
||||||
Layout/AlignArray:
|
Layout/AlignArray:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
@ -23,7 +23,7 @@ Layout/CaseIndentation:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
||||||
Layout/ClosingParenthesisIndentation:
|
Layout/ClosingParenthesisIndentation:
|
||||||
Enabled: false
|
Enabled: true
|
||||||
|
|
||||||
Layout/CommentIndentation:
|
Layout/CommentIndentation:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
@ -32,10 +32,10 @@ Layout/DotPosition:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
||||||
Layout/ElseAlignment:
|
Layout/ElseAlignment:
|
||||||
Enabled: false
|
Enabled: true
|
||||||
|
|
||||||
Layout/EmptyLineAfterMagicComment:
|
Layout/EmptyLineAfterMagicComment:
|
||||||
Enabled: false
|
Enabled: true
|
||||||
|
|
||||||
Layout/EmptyLineBetweenDefs:
|
Layout/EmptyLineBetweenDefs:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
@ -47,7 +47,7 @@ Layout/EmptyLinesAroundAccessModifier:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
||||||
Layout/EmptyLinesAroundBeginBody:
|
Layout/EmptyLinesAroundBeginBody:
|
||||||
Enabled: false
|
Enabled: true
|
||||||
|
|
||||||
Layout/EmptyLinesAroundBlockBody:
|
Layout/EmptyLinesAroundBlockBody:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
@ -65,7 +65,8 @@ Layout/EmptyLinesAroundModuleBody:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
||||||
Layout/EndOfLine:
|
Layout/EndOfLine:
|
||||||
Enabled: false
|
Enabled: true
|
||||||
|
EnforcedStyle: lf
|
||||||
|
|
||||||
Layout/ExtraSpacing:
|
Layout/ExtraSpacing:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
@ -272,7 +273,8 @@ Lint/EmptyWhen:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
||||||
Lint/EndAlignment:
|
Lint/EndAlignment:
|
||||||
Enabled: false
|
Enabled: true
|
||||||
|
EnforcedStyleAlignWith: variable
|
||||||
|
|
||||||
Lint/EndInMethod:
|
Lint/EndInMethod:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
Loading…
Reference in a new issue