summaryrefslogtreecommitdiff
path: root/rubocop/cop/gitlab/module_with_instance_variables.rb
diff options
context:
space:
mode:
Diffstat (limited to 'rubocop/cop/gitlab/module_with_instance_variables.rb')
-rw-r--r--rubocop/cop/gitlab/module_with_instance_variables.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/rubocop/cop/gitlab/module_with_instance_variables.rb b/rubocop/cop/gitlab/module_with_instance_variables.rb
index dd8bd2dfdf0..40cdc0d3a57 100644
--- a/rubocop/cop/gitlab/module_with_instance_variables.rb
+++ b/rubocop/cop/gitlab/module_with_instance_variables.rb
@@ -1,8 +1,10 @@
+# frozen_string_literal: true
+
module RuboCop
module Cop
module Gitlab
class ModuleWithInstanceVariables < RuboCop::Cop::Cop
- MSG = <<~EOL.freeze
+ MSG = <<~EOL
Do not use instance variables in a module. Please read this
for the rationale behind it: