2018-09-20 11:19:55 +02:00
|
|
|
task :lint do
|
2021-02-17 19:06:55 +01:00
|
|
|
sh "bundle exec rubocop --parallel"
|
2018-09-20 11:19:55 +02:00
|
|
|
sh "bundle exec haml-lint app/views/"
|
|
|
|
sh "bundle exec scss-lint app/assets/stylesheets/"
|
2021-09-15 20:19:53 +02:00
|
|
|
sh "bundle exec i18n-tasks missing --locales fr"
|
2021-09-17 05:52:49 +02:00
|
|
|
sh "bundle exec i18n-tasks unused --locale en" # TODO: check for all locales
|
2021-09-16 20:50:21 +02:00
|
|
|
sh "bundle exec i18n-tasks check-consistent-interpolations"
|
2018-09-20 11:19:55 +02:00
|
|
|
sh "bundle exec brakeman --no-pager"
|
|
|
|
sh "yarn lint:js"
|
|
|
|
end
|