A platform for community discussion. Free, open, simple.
DEV: Run rubocop in parallel in pre-commit hook.
Guo Xiang Tan960fd94758ef
diff --git a/lefthook.yml b/lefthook.ymlindex 749f080134b..f3645c3d1a4 100644--- a/lefthook.yml+++ b/lefthook.yml@@ -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"