diff --git a/Rakefile.rb b/Rakefile.rb index 7a68880..7d0cd3c 100644 --- a/Rakefile.rb +++ b/Rakefile.rb @@ -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"