From 603c56f71cfb46ef005fb370ab1d4739b916ce47 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Tue, 25 Feb 2020 17:28:53 -0500 Subject: [PATCH] FIX: Lefthook was not excluding enough JS --- lefthook.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lefthook.yml b/lefthook.yml index 74d212e5ac4..f3305fb786e 100644 --- a/lefthook.yml +++ b/lefthook.yml @@ -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