Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConnor Shea <connor.james.shea@gmail.com>2016-07-05 19:33:50 +0300
committerConnor Shea <connor.james.shea@gmail.com>2016-07-13 21:12:47 +0300
commitc4cbf3effa2c19ebcdcd3943b46ed9296c6e609e (patch)
treecdefb2558528827abe0e93f244a65ae7a4e58f98 /.rubocop.yml
parentfb4f3a473b633ebd165d351e7101898c2b87ad72 (diff)
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: