mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 03:18:23 +00:00
DEV: Run rubocop in parallel in pre-commit hook.
This commit is contained in:
parent
197d0332e6
commit
960fd94758
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user