remove if => unless suggestions from rubocop
This commit is contained in:
parent
c3bc27385e
commit
a12f3c4c23
|
@ -44,6 +44,10 @@ Style/GuardClause:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
Description: 'This often introduces bugs in tested code'
|
Description: 'This often introduces bugs in tested code'
|
||||||
|
|
||||||
|
Style/NegatedIf:
|
||||||
|
Enabled: false
|
||||||
|
Description: 'This often introduces bugs in tested code'
|
||||||
|
|
||||||
Style/ConditionalAssignment:
|
Style/ConditionalAssignment:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
Description: 'This is confusing for folks coming from other languages'
|
Description: 'This is confusing for folks coming from other languages'
|
||||||
|
|
Loading…
Reference in New Issue