2024-04-29 00:17:15 +02:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-09-20 11:19:55 +02:00
|
|
|
task :lint do
|
2021-02-17 19:06:55 +01:00
|
|
|
sh "bundle exec rubocop --parallel"
|
2022-11-21 15:41:28 +01:00
|
|
|
sh "bundle exec haml-lint app/views/ app/components/"
|
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"
|
2024-03-13 11:06:24 +01:00
|
|
|
sh "bun lint:js"
|
|
|
|
sh "bun lint:types"
|
2024-11-05 18:54:10 +01:00
|
|
|
sh "bun lint:css"
|
2018-09-20 11:19:55 +02:00
|
|
|
end
|