From bb4512d41ec29d9d32d4daa83524ba3b057ab874 Mon Sep 17 00:00:00 2001 From: Pierre de La Morinerie Date: Wed, 15 Sep 2021 13:19:53 -0500 Subject: [PATCH] tasks: add check for missing french locales to the linter This lint will fail if any locale defined in the code doesn't have a french localized string. --- lib/tasks/lint.rake | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/tasks/lint.rake b/lib/tasks/lint.rake index 640d26a50..ee14d14e6 100644 --- a/lib/tasks/lint.rake +++ b/lib/tasks/lint.rake @@ -2,6 +2,7 @@ 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 i18n-tasks missing --locales fr" sh "bundle exec brakeman --no-pager" sh "yarn lint:js" end