summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2016-05-30 17:20:56 +0000
committerRobert Speicher <robert@gitlab.com>2016-05-30 17:20:56 +0000
commit6eaf327a57149739fb6b14e2396181cc95e687ff (patch)
treefc0cb72be5cbcc75a55ebe5f6329f112cadcb7fc /.rubocop.yml
parenta1565182e9d0c404f2bd18d960a282e02f650fea (diff)
parentc370dce01c95ff3d2cf102f4bdcf8347e3764893 (diff)
downloadgitlab-ce-6eaf327a57149739fb6b14e2396181cc95e687ff.tar.gz
Merge branch 'rubocop/enable-redundant-parentheses-cop' into 'master'
Enable Style/RedundantParentheses rubocop cop Checks for parentheses that seem not to serve any purpose. See #17478 See merge request !4361
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 a4ea5a95459..6bba7f70668 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: