Skip to content

Commit

Permalink
Add coverage folder to eslint ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
hwinther committed Jul 16, 2024
1 parent 63610f0 commit af2aae6
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/frontend/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit af2aae6

Please sign in to comment.