Enable Layout/TrailingWhitespace cop and auto-correct offenses

This commit is contained in:
Robert Speicher 2017-08-15 13:44:37 -04:00
parent 05151f7699
commit 4edfad9678
53 changed files with 99 additions and 100 deletions

View file

@ -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_.

View file

@ -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