summaryrefslogtreecommitdiff
path: root/rubocop/cop
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2017-11-22 00:59:16 +0800
committerLin Jen-Shin <godfat@godfat.org>2017-11-22 17:06:57 +0800
commit15edf741a14a53443fb39ecb59888e75697b9c2b (patch)
tree8d9acc47f7c08bae32d13bda497ecd100a4e2319 /rubocop/cop
parent0b6d01ed775e957161e1304de44d0bd5251f4098 (diff)
downloadgitlab-ce-15edf741a14a53443fb39ecb59888e75697b9c2b.tar.gz
Explain how to disable it in the doc
Diffstat (limited to 'rubocop/cop')
-rw-r--r--rubocop/cop/module_with_instance_variables.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/rubocop/cop/module_with_instance_variables.rb b/rubocop/cop/module_with_instance_variables.rb
index 9f9856e308b..f101ae09ad2 100644
--- a/rubocop/cop/module_with_instance_variables.rb
+++ b/rubocop/cop/module_with_instance_variables.rb
@@ -6,9 +6,6 @@ module RuboCop
for the rationale behind it:
https://docs.gitlab.com/ee/development/module_with_instance_variables.html
-
- If you think the use for this is fine, please just add:
- # rubocop:disable Cop/ModuleWithInstanceVariables
EOL
def on_module(node)