From 960fd94758ef97ec5faf444068a5073bdff9772b Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Wed, 29 Apr 2020 13:48:38 +0800 Subject: [PATCH] DEV: Run rubocop in parallel in pre-commit hook. --- lefthook.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lefthook.yml b/lefthook.yml index 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"