diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml index 7adaa3e3d1..aacef7a6be 100644 --- a/Library/.rubocop.yml +++ b/Library/.rubocop.yml @@ -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