demarches-normaliennes/lib/tasks/lint.rake

8 lines
197 B
Ruby
Raw Normal View History

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:js"
end