From 7750441c436efc4f77250d2664f1e057a9775639 Mon Sep 17 00:00:00 2001 From: David Taylor Date: Mon, 2 Dec 2024 18:13:40 +0000 Subject: [PATCH] DEV: Correct ember-template-lint commands (again) (#30038) This was fixed in 5563e9dc03bc465ee484dcf2c07b1a1bf989ef79, but then regressed again by an unintentional change in 6f7c581a8066f19956ad43431333292243b2c72b --- .../tests/integration/components/select-kit/tag-drop-test.gjs | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/assets/javascripts/discourse/tests/integration/components/select-kit/tag-drop-test.gjs b/app/assets/javascripts/discourse/tests/integration/components/select-kit/tag-drop-test.gjs index bd914bf4c1c..96ef293ad14 100644 --- a/app/assets/javascripts/discourse/tests/integration/components/select-kit/tag-drop-test.gjs +++ b/app/assets/javascripts/discourse/tests/integration/components/select-kit/tag-drop-test.gjs @@ -31,7 +31,7 @@ module("Integration | Component | select-kit/tag-drop", function (hooks) { await render(); diff --git a/package.json b/package.json index 014629e3694..ed4b85a7c62 100644 --- a/package.json +++ b/package.json @@ -45,8 +45,8 @@ "lint:fix": "concurrently \"npm:lint:*:fix\" --names \"fix:\"", "lint:js": "eslint ./app/assets/javascripts $(script/list_bundled_plugins) --cache --no-error-on-unmatched-pattern", "lint:js:fix": "eslint --fix ./app/assets/javascripts $(script/list_bundled_plugins) --no-error-on-unmatched-pattern", - "lint:hbs": "ember-template-lint 'app/assets/javascripts/**/*.{gjs,hbs}' $(script/list_bundled_plugins '/assets/javascripts/**/*.{gjs,hbs}') --no-error-on-unmatched-pattern", - "lint:hbs:fix": "ember-template-lint 'app/assets/javascripts/**/*.{gjs,hbs}' $(script/list_bundled_plugins '/assets/javascripts/**/*.{gjs,hbs}') --no-error-on-unmatched-pattern --fix", + "lint:hbs": "ember-template-lint 'app/assets/javascripts/**/*.{gjs,hbs}' 'plugins/*/assets/javascripts/**/*.{gjs,hbs}' 'plugins/*/admin/assets/javascripts/**/*.{gjs,hbs}'", + "lint:hbs:fix": "ember-template-lint 'app/assets/javascripts/**/*.{gjs,hbs}' 'plugins/*/assets/javascripts/**/*.{gjs,hbs}' 'plugins/*/admin/assets/javascripts/**/*.{gjs,hbs}' --fix", "lint:prettier": "pnpm pprettier --list-different 'app/assets/stylesheets/**/*.scss' 'app/assets/javascripts/**/*.{js,gjs,hbs}' $(script/list_bundled_plugins '/assets/stylesheets/**/*.scss') $(script/list_bundled_plugins '/{assets,admin/assets}/javascripts/**/*.{js,gjs,hbs}')", "lint:prettier:fix": "pnpm prettier -w 'app/assets/stylesheets/**/*.scss' 'app/assets/javascripts/**/*.{js,gjs,hbs}' $(script/list_bundled_plugins '/assets/stylesheets/**/*.scss') $(script/list_bundled_plugins '/{assets,admin/assets}/javascripts/**/*.{js,gjs,hbs}')", "lttf:ignore": "lint-to-the-future ignore",