DEV: Don't template-lint all files in lefthook (#17255)
Just templates is a-ok, thx :P
This commit is contained in:
parent
aabb98aedc
commit
64adf3cba3
|
@ -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}"
|
||||
|
|
Loading…
Reference in New Issue