ui: exclude generated build dirs from prettier and eslint so lint errors stop being masked (#23910)

This commit is contained in:
Pascal
2026-05-30 16:50:54 +02:00
committed by GitHub
parent 8b0e0db606
commit d38d50e7ff
2 changed files with 8 additions and 2 deletions

View File

@@ -7,3 +7,9 @@ bun.lockb
# Miscellaneous
/static/
# Build output
/dist/
/build/
/.svelte-kit/
test-results

View File

@@ -45,8 +45,8 @@ export default ts.config(
}
},
{
// Exclude Storybook files from main ESLint rules
ignores: ['.storybook/**/*']
// Exclude generated build output and Storybook files from ESLint
ignores: ['dist/**', 'build/**', '.svelte-kit/**', 'test-results/**', '.storybook/**/*']
},
storybook.configs['flat/recommended']
);