i18n: add automated check for unused locales (en only)

In a next PR we'll also check for french (and thus all locales).
This commit is contained in:
Pierre de La Morinerie 2021-09-16 22:52:49 -05:00
parent 6656d1130b
commit 6271c41fef

View file

@ -3,6 +3,7 @@ task :lint do
sh "bundle exec haml-lint app/views/"
sh "bundle exec scss-lint app/assets/stylesheets/"
sh "bundle exec i18n-tasks missing --locales fr"
sh "bundle exec i18n-tasks unused --locale en" # TODO: check for all locales
sh "bundle exec i18n-tasks check-consistent-interpolations"
sh "bundle exec brakeman --no-pager"
sh "yarn lint:js"