From ed0c9650de29e82d0d225172de7e542699e214c4 Mon Sep 17 00:00:00 2001 From: Michael Kauzmann Date: Thu, 26 Sep 2024 14:51:53 -0600 Subject: [PATCH] lint all HTML files, and other extensions, https://github.com/phetsims/chipper/issues/1474 Signed-off-by: Michael Kauzmann --- eslint.config.mjs | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index d34f8755e..57d2b2b41 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -15,10 +15,6 @@ export default [ rules: { 'no-bitwise': 'off' }, - ignores: [ - 'js/display/swash/pkg', - 'js/display/guillotiere/pkg' - ], languageOptions: { globals: { himalaya: 'readonly', @@ -27,5 +23,20 @@ export default [ he: 'readonly' } } + }, + { + files: [ + 'tests/**/*.html', + 'examples/**/*.html' + ], + rules: { + 'phet/bad-sim-text': 'off' + } + }, + { + ignores: [ + 'js/display/swash/pkg', + 'js/display/guillotiere/pkg' + ] } ]; \ No newline at end of file