summaryrefslogtreecommitdiff
path: root/lib/tasks/haml-lint.rake
blob: 80f70820853e3f9a36870872d3a125f9ab078048 (plain)
1
2
3
4
5
6
7
8
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