mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 01:58:41 -05:00
(maint) Update rubocop.yml to ignore 2 cops
This commit updates the rubocop_todo.yml file for all of the new code that has been introduced. This commit adds two cops to the ignore list - Style/ConditionalAssignment - Next In some cases the readability of code is better even when the cops are raised. This commit disables the cops so they will not be flagged as violations
This commit is contained in:
parent
a155dca081
commit
d94b5e6896
2 changed files with 22 additions and 26 deletions
|
|
@ -51,3 +51,10 @@ Style/WordArray:
|
|||
# Either sytnax for regex is ok
|
||||
Style/RegexpLiteral:
|
||||
Enabled: false
|
||||
|
||||
# In some cases readability is better without these cops enabled
|
||||
Style/ConditionalAssignment:
|
||||
Enabled: false
|
||||
Next:
|
||||
Enabled: false
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue