summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2016-05-30 17:46:22 +0000
committerRobert Speicher <robert@gitlab.com>2016-05-30 17:46:22 +0000
commit1a59b350d84b661af3ebf41ca4c034f29157d92b (patch)
tree0e21f3a3ac611f4807cc41d9a0b4499398dc92a9 /.rubocop.yml
parenta8e80d4a59a4e071c61a2789611aaf7a300bf8f8 (diff)
parent9d5f80e00b08fa75469fc8be1bb151308580de9a (diff)
downloadgitlab-ce-1a59b350d84b661af3ebf41ca4c034f29157d92b.tar.gz
Merge branch 'style/enable-method-def-parentheses-rubocop-cop' into 'master'
Enable Style/MethodDefParentheses rubocop cop Use def with parentheses when there are parameters. See #17478 See merge request !4352
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 f547852763b..e884cfd8ed3 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: