diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-05-30 14:06:06 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-07-20 14:24:39 +0200 |
commit | 07be5943788fe0b672e8c6bea6859582cbdd3d11 (patch) | |
tree | 492f5464abe2ff476f47f183833ec722dabd981c /.rubocop_todo.yml | |
parent | 79b02e40e5842540ceff4454f6c2c51f13fc081c (diff) | |
download | gitlab-ce-07be5943788fe0b672e8c6bea6859582cbdd3d11.tar.gz |
Enable Style/MultilineTernaryOperator rubocop coprubocop/enable-multiline-ternary-operator-cop
Avoid multi-line ?: (the ternary operator). Use if/unless instead.
See #17478
Diffstat (limited to '.rubocop_todo.yml')
-rw-r--r-- | .rubocop_todo.yml | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 9310e711889..b622b9239d4 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -226,10 +226,6 @@ Style/LineEndConcatenation: Style/MethodCallParentheses: Enabled: false -# Offense count: 3 -Style/MultilineTernaryOperator: - Enabled: false - # Offense count: 62 # Cop supports --auto-correct. Style/MutableConstant: |