From 2e9a8c4fc0a5add9c5e701dc67cb5e5112212d87 Mon Sep 17 00:00:00 2001 From: Otto Richter Date: Tue, 12 Nov 2024 20:36:26 +0100 Subject: [PATCH] chore(lint): Ignore playwright reports for linting Was part of c9e402afdc573a9706fa45a1052c122f34264b89 but got dropped from Makefile in 8dc72589cafd0881e234af489c4b3d643422f7e9 There are no JavaScript files in e2e left, so apply some rule to TypeScript only --- eslint.config.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index da1b2b5d49..c52fdd4ddd 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -20,7 +20,7 @@ export default tseslint.config( ...tseslint.configs.recommended, eslintPluginImportX.flatConfigs.typescript, { - ignores: ['web_src/js/vendor', 'web_src/fomantic', 'public/assets/js'], + ignores: ['web_src/js/vendor', 'web_src/fomantic', 'public/assets/js', 'tests/e2e/reports/'], }, { plugins: { @@ -1112,7 +1112,7 @@ export default tseslint.config( ], }, }, { - files: ['tests/e2e/**/*.js', 'tests/e2e/**/*.ts'], + files: ['tests/e2e/**/*.ts'], languageOptions: { globals: { ...globals.browser,