DEV: Don't template-lint all files in lefthook (#17255)

Just templates is a-ok, thx :P
This commit is contained in:
Jarek Radosz 2022-06-27 20:01:13 +02:00 committed by GitHub
parent aabb98aedc
commit 64adf3cba3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,8 @@ pre-commit:
include: "app/assets/javascripts|plugins/.+?/assets/javascripts"
run: yarn eslint -f compact --quiet {staged_files}
ember-template-lint:
glob: "*.hbs"
include: "app/assets/javascripts|plugins/.+?/assets/javascripts"
run: yarn run ember-template-lint {staged_files}
yaml-syntax:
glob: "*.{yaml,yml}"