A platform for community discussion. Free, open, simple.
DEV: Don't template-lint all files in lefthook (#17255)
Jarek Radosz64adf3cba3ed
diff --git a/lefthook.yml b/lefthook.ymlindex 530c53bf065..c11d115f4ad 100644--- a/lefthook.yml+++ b/lefthook.yml@@ -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}"