(maint) Fix rubocop offenses

This commit fixes the many rubocop offenses.  Also modifies the rubocop
settings:

- Set max method params higher than the default of 5
- Ignore Style/GuardClause. In some cases it's eaiser to read without the guard
- Renamed a cop
This commit is contained in:
Glenn Sarti 2017-07-18 15:26:27 -07:00
parent 9b0e55f959
commit 9c93d2534f
5 changed files with 203 additions and 361 deletions

View file

@ -60,8 +60,12 @@ Style/ConditionalAssignment:
Enabled: false
Next:
Enabled: false
Metrics/ParameterLists:
Max: 10
Style/GuardClause:
Enabled: false
# Enforce LF line endings, even when on Windows
Style/EndOfLine:
Layout/EndOfLine:
EnforcedStyle: lf