13 lines
468 B
Ruby
13 lines
468 B
Ruby
# frozen_string_literal: true
|
|
|
|
task :lint do
|
|
sh "bundle exec rubocop --parallel"
|
|
sh "bundle exec haml-lint app/views/ app/components/"
|
|
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 "bun lint:js"
|
|
sh "bun lint:types"
|
|
end
|