summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-02-21 17:59:42 -0600
committerDouwe Maan <douwe@selenight.nl>2017-02-23 09:31:57 -0600
commit215228b477e9dae8cf3ba36af767ae12d4328e28 (patch)
treec293caf0c9e614837b5b195e55af67db690900e2 /.rubocop.yml
parent8924594a3e84f03c363031d0831960ad5ab822dd (diff)
downloadgitlab-ce-215228b477e9dae8cf3ba36af767ae12d4328e28.tar.gz
Enable Performance/RedundantBlockCall
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index 7bcd09bef1b..9087b626bb9 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -923,6 +923,9 @@ Lint/UnneededSplatExpansion:
Lint/UnusedBlockArgument:
Enabled: false
+Performance/RedundantBlockCall:
+ Enabled: true
+
Rails/HttpPositionalArguments:
Enabled: false