Commit 9e34c57d authored by Rémy Coutable's avatar Rémy Coutable

Add haml_lint rake task

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 427fc10d
...@@ -206,7 +206,7 @@ spinach 9 10 ruby21: *spinach-knapsack-ruby21 ...@@ -206,7 +206,7 @@ spinach 9 10 ruby21: *spinach-knapsack-ruby21
- bundle exec $CI_BUILD_NAME - bundle exec $CI_BUILD_NAME
rubocop: *exec rubocop: *exec
rake haml-lint: *exec rake haml_lint: *exec
rake scss_lint: *exec rake scss_lint: *exec
rake brakeman: *exec rake brakeman: *exec
rake flog: *exec rake flog: *exec
......
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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment