summaryrefslogtreecommitdiff
path: root/lib/haml_lint
diff options
context:
space:
mode:
authorGabriel Mazetto <gabriel@gitlab.com>2018-03-08 12:56:54 +0000
committerNick Thomas <nick@gitlab.com>2018-03-08 12:56:54 +0000
commit5c7a738105b88c52d7765791419ee398d9e27ae0 (patch)
tree3c317bc276420ae774b9fd0edea1788fdebd347b /lib/haml_lint
parenta284400099af145fe63c6a00609ea59f768d383c (diff)
downloadgitlab-ce-5c7a738105b88c52d7765791419ee398d9e27ae0.tar.gz
[CE] Add Naming/FileName rule checking expected class/module per filename
Diffstat (limited to 'lib/haml_lint')
-rw-r--r--lib/haml_lint/inline_javascript.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/haml_lint/inline_javascript.rb b/lib/haml_lint/inline_javascript.rb
index 4f776330e80..adbed20f152 100644
--- a/lib/haml_lint/inline_javascript.rb
+++ b/lib/haml_lint/inline_javascript.rb
@@ -1,4 +1,4 @@
-unless Rails.env.production?
+unless Rails.env.production? # rubocop:disable Naming/FileName
require 'haml_lint/haml_visitor'
require 'haml_lint/linter'
require 'haml_lint/linter_registry'