From af2aae6ff262900be166521570da9a137092a373 Mon Sep 17 00:00:00 2001 From: Hans Christian Winther-Sorensen Date: Wed, 17 Jul 2024 00:59:13 +0200 Subject: [PATCH] Add coverage folder to eslint ignore --- src/frontend/eslint.config.mjs | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/frontend/eslint.config.mjs b/src/frontend/eslint.config.mjs index 273f7496..797e0154 100644 --- a/src/frontend/eslint.config.mjs +++ b/src/frontend/eslint.config.mjs @@ -8,7 +8,17 @@ import eslintPluginSonarJs from 'eslint-plugin-sonarjs' /** @type {import('eslint').Linter.FlatConfig[]} */ export default [ { files: ['**/*.js', '**/*.ts', '**/*.tsx'] }, - { ignores: ['node_modules/*', 'dist/*', '*.lock', 'src/api/endpoints/**', 'src/api/models/**', 'vite.config.ts'] }, + { + ignores: [ + 'node_modules/*', + 'dist/*', + 'coverage/*', + '*.lock', + 'src/api/endpoints/**', + 'src/api/models/**', + 'vite.config.ts', + ], + }, { plugins: { eslintPluginSonarJs,