FIX: Lefthook was not excluding enough JS

This commit is contained in:
Robin Ward 2020-02-25 17:28:53 -05:00
parent baba1cc02e
commit 603c56f71c
1 changed files with 1 additions and 1 deletions

View File

@ -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