Enable Layout/TrailingWhitespace cop and auto-correct offenses
This commit is contained in:
parent
05151f7699
commit
4edfad9678
53 changed files with 99 additions and 100 deletions
|
@ -251,6 +251,10 @@ Layout/Tab:
|
||||||
Layout/TrailingBlankLines:
|
Layout/TrailingBlankLines:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
|
|
||||||
|
# Avoid trailing whitespace.
|
||||||
|
Layout/TrailingWhitespace:
|
||||||
|
Enabled: true
|
||||||
|
|
||||||
# Style #######################################################################
|
# Style #######################################################################
|
||||||
|
|
||||||
# Check the naming of accessor methods for get_/set_.
|
# Check the naming of accessor methods for get_/set_.
|
||||||
|
|
|
@ -57,11 +57,6 @@ Layout/SpaceInsideParens:
|
||||||
Layout/SpaceInsidePercentLiteralDelimiters:
|
Layout/SpaceInsidePercentLiteralDelimiters:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
||||||
# Offense count: 89
|
|
||||||
# Cop supports --auto-correct.
|
|
||||||
Layout/TrailingWhitespace:
|
|
||||||
Enabled: false
|
|
||||||
|
|
||||||
# Offense count: 272
|
# Offense count: 272
|
||||||
RSpec/EmptyLineAfterFinalLet:
|
RSpec/EmptyLineAfterFinalLet:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
Loading…
Reference in a new issue