DEV: Run rubocop in parallel in pre-commit hook.

This commit is contained in:
Guo Xiang Tan 2020-04-29 13:48:38 +08:00
parent 197d0332e6
commit 960fd94758
No known key found for this signature in database
GPG Key ID: FBD110179AAC1F20
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ pre-commit:
commands:
rubocop:
glob: "*.rb"
run: bundle exec rubocop {staged_files}
run: bundle exec rubocop --parallel {staged_files}
prettier:
glob: "*.{js,es6}"
exclude: "vendor/*|fixtures|public/javascripts|shims.js|ember-addons|template-lintrc|locale/*|test_helper|run-qunit"