demarches-normaliennes/lib/tasks/lint.rake
Paul Chavard 90eb22fd0b Revert "remove eclint"
This reverts commit ce0c50fbec.
2020-12-11 14:20:53 +01: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