rubocop: disallow and/or in favor of &&/||
This commit is contained in:
parent
5286be91cb
commit
59b8e27998
@ -89,6 +89,11 @@ Naming/MethodName:
|
||||
Naming/VariableNumber:
|
||||
Enabled: false
|
||||
|
||||
# Require &&/|| instead of and/or
|
||||
Style/AndOr:
|
||||
Enabled: true
|
||||
EnforcedStyle: always
|
||||
|
||||
# Avoid leaking resources.
|
||||
Style/AutoResourceCleanup:
|
||||
Enabled: true
|
||||
|
Loading…
x
Reference in New Issue
Block a user