gitlab-org--gitlab-foss/lib/tasks/haml-lint.rake

9 lines
164 B
Ruby
Raw Normal View History

unless Rails.env.production?
require 'haml_lint/rake_task'
HamlLint::RakeTask.new do |t|
t.config = '.haml-lint.yml'
t.files = ['app/views']
end
end