mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 01:58:41 -05:00
(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:
parent
9b0e55f959
commit
9c93d2534f
5 changed files with 203 additions and 361 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue