demarches-normaliennes/lib/tasks/lint.rake
2021-02-23 10:35:30 +01:00

7 lines
208 B
Ruby

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