Restrict InlineJavaScript for haml_lint to dev and test environment

This commit is contained in:
winh 2017-08-08 09:19:44 +02:00
parent 28299de189
commit b3537000aa

View file

@ -1,3 +1,4 @@
unless Rails.env.production?
require 'haml_lint/haml_visitor' require 'haml_lint/haml_visitor'
require 'haml_lint/linter' require 'haml_lint/linter'
require 'haml_lint/linter_registry' require 'haml_lint/linter_registry'
@ -12,3 +13,4 @@ module HamlLint
end end
end end
end end
end