mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 09:42:02 +08: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…
Reference in New Issue
Block a user