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"
|
include: "app/assets/javascripts|plugins/.+?/assets/javascripts"
|
||||||
run: yarn eslint -f compact --quiet {staged_files}
|
run: yarn eslint -f compact --quiet {staged_files}
|
||||||
ember-template-lint:
|
ember-template-lint:
|
||||||
|
glob: "*.hbs"
|
||||||
|
include: "app/assets/javascripts|plugins/.+?/assets/javascripts"
|
||||||
run: yarn run ember-template-lint {staged_files}
|
run: yarn run ember-template-lint {staged_files}
|
||||||
yaml-syntax:
|
yaml-syntax:
|
||||||
glob: "*.{yaml,yml}"
|
glob: "*.{yaml,yml}"
|
||||||
|
|
Loading…
Reference in New Issue