demarches-normaliennes/lib/tasks/lint.rake

14 lines
435 B
Ruby
Raw Permalink Normal View History

# frozen_string_literal: true
task :lint do
2021-02-17 19:06:55 +01:00
sh "bundle exec rubocop --parallel"
sh "bundle exec haml-lint app/views/ app/components/"
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"
2024-03-13 11:06:24 +01:00
sh "bun lint:js"
sh "bun lint:types"
sh "bun lint:css"
end