summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-05-30 12:08:53 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-05-30 12:08:53 +0200
commit9d5f80e00b08fa75469fc8be1bb151308580de9a (patch)
treea36cf8f3841b145531caf20b063201483a2a7e62 /.rubocop.yml
parent43c35b0f20fb3bb67ea2b96bf8f806c7e95b6aec (diff)
downloadgitlab-ce-9d5f80e00b08fa75469fc8be1bb151308580de9a.tar.gz
Enable Style/MethodDefParentheses rubocop copstyle/enable-method-def-parentheses-rubocop-cop
Use def with parentheses when there are parameters. See #17478
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index 2d8eb4077f3..19a47804964 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -330,7 +330,7 @@ Style/MethodCallParentheses:
# Checks if the method definitions have or don't have parentheses.
Style/MethodDefParentheses:
- Enabled: false
+ Enabled: true
# Use the configured style when naming methods.
Style/MethodName: