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