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:
Enabled: true
# Avoid trailing whitespace.
Layout/TrailingWhitespace:
Enabled: true
# Style #######################################################################
# Check the naming of accessor methods for get_/set_.

View File

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