mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 11:44:49 +08:00
FIX: Lefthook was not excluding enough JS
This commit is contained in:
parent
baba1cc02e
commit
603c56f71c
|
@ -6,7 +6,7 @@ pre-commit:
|
|||
run: bundle exec rubocop {staged_files}
|
||||
eslint:
|
||||
glob: "*.{js,es6}"
|
||||
exclude: "vendor/*"
|
||||
exclude: "vendor/*|fixtures|public/javascripts|shims.js|ember-addons|template-lintrc|locale/*|test_helper|run-qunit"
|
||||
run: yarn eslint --ext .es6 -f compact {staged_files}
|
||||
ember-template-lint:
|
||||
run: yarn run ember-template-lint app
|
||||
|
|
Loading…
Reference in New Issue
Block a user