demarches-normaliennes/lib/tasks/lint.rake
2018-09-20 16:41:05 +02:00

8 lines
217 B
Ruby

task :lint do
sh "bundle exec rubocop"
sh "bundle exec haml-lint app/views/"
sh "bundle exec scss-lint app/assets/stylesheets/"
sh "bundle exec brakeman --no-pager"
sh "yarn lint:ec"
sh "yarn lint:js"
end