summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorConnor Shea <connor.james.shea@gmail.com>2016-07-05 10:33:50 -0600
committerConnor Shea <connor.james.shea@gmail.com>2016-07-13 12:12:47 -0600
commitc4cbf3effa2c19ebcdcd3943b46ed9296c6e609e (patch)
treecdefb2558528827abe0e93f244a65ae7a4e58f98 /.rubocop.yml
parentfb4f3a473b633ebd165d351e7101898c2b87ad72 (diff)
downloadgitlab-ce-c4cbf3effa2c19ebcdcd3943b46ed9296c6e609e.tar.gz
Disable two cops as recommended.
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index ce4287a2796..db0bcfadcf4 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -37,6 +37,10 @@ AllCops:
Style/AccessModifierIndentation:
Enabled: true
+# Check the naming of accessor methods for get_/set_.
+Style/AccessorMethodName:
+ Enabled: false
+
# Use alias_method instead of alias.
Style/Alias:
EnforcedStyle: prefer_alias_method
@@ -239,6 +243,10 @@ Style/MethodDefParentheses:
Style/MethodName:
Enabled: true
+# Checks for usage of `extend self` in modules.
+Style/ModuleFunction:
+ Enabled: false
+
# Checks that the closing brace in an array literal is either on the same line
# as the last array element, or a new line.
Style/MultilineArrayBraceLayout: