diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-02-21 16:31:14 -0600 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-02-21 16:31:14 -0600 |
commit | f40716f48a25809d197ba2abf32ce150b7b73efa (patch) | |
tree | 3356ea055ddee37517467c1f0ed4f4b98f655e6f /.rubocop.yml | |
parent | deb62183edbd9111691f62a4f6a9febb1fcd79f7 (diff) | |
download | gitlab-ce-f40716f48a25809d197ba2abf32ce150b7b73efa.tar.gz |
No more and/or
Diffstat (limited to '.rubocop.yml')
-rw-r--r-- | .rubocop.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index b093d4d25d4..a836b469cc7 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -54,6 +54,11 @@ Style/AlignArray: Style/AlignHash: Enabled: true +# Whether `and` and `or` are banned only in conditionals (conditionals) +# or completely (always). +Style/AndOr: + Enabled: true + # Use `Array#join` instead of `Array#*`. Style/ArrayJoin: Enabled: true |