Rakefile: add linter tasks

This commit is contained in:
0x1eef 2022-11-02 00:38:46 -03:00 committed by Robert
parent 2eeeb439ec
commit 1fc7e9833b

View file

@ -14,4 +14,14 @@ namespace :deploy do
end
end
namespace :linter do
task :ruby do
sh "bundle exec rubocop lib/ src/"
end
task :typescript do
sh "npm run eslint"
end
end
task lint: ["linter:ruby", "linter:typescript"]
task default: "deploy:local"