Submit social housing lettings and sales data (CORE)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
524 B

desc "Run Rubocop"
task rubocop: :environment do
sh "bundle exec rubocop"
end
desc "Run ERB Lint"
task erblint: :environment do
sh "bundle exec erblint --lint-all"
end
desc "Run Standard"
task standard: :environment do
sh "yarn standard"
end
desc "Run Stylelint"
task stylelint: :environment do
sh "yarn stylelint app/frontend/styles"
end
desc "Run Prettier"
task prettier: :environment do
sh "yarn prettier . --check"
end
desc "Run all the linters"
task lint: %i[rubocop erblint standard stylelint prettier]