summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-05-30 15:07:18 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-05-30 15:07:18 +0200
commitc370dce01c95ff3d2cf102f4bdcf8347e3764893 (patch)
tree8114023b91b681fff51931a76d50a1f3d4297588 /.rubocop.yml
parent43c35b0f20fb3bb67ea2b96bf8f806c7e95b6aec (diff)
downloadgitlab-ce-c370dce01c95ff3d2cf102f4bdcf8347e3764893.tar.gz
Enable Style/RedundantParentheses rubocop coprubocop/enable-redundant-parentheses-cop
See #17478
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml3
1 files changed, 1 insertions, 2 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index 2d8eb4077f3..59c6cf7b507 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -486,10 +486,9 @@ Style/RedundantException:
Style/RedundantFreeze:
Enabled: false
-# TODO: Enable RedundantParentheses Cop.
# Checks for parentheses that seem not to serve any purpose.
Style/RedundantParentheses:
- Enabled: false
+ Enabled: true
# Don't use return where it's not required.
Style/RedundantReturn: