ui: exclude generated build dirs from prettier and eslint so lint errors stop being masked (#23910)
This commit is contained in:
@@ -7,3 +7,9 @@ bun.lockb
|
|||||||
|
|
||||||
# Miscellaneous
|
# Miscellaneous
|
||||||
/static/
|
/static/
|
||||||
|
|
||||||
|
# Build output
|
||||||
|
/dist/
|
||||||
|
/build/
|
||||||
|
/.svelte-kit/
|
||||||
|
test-results
|
||||||
|
|||||||
@@ -45,8 +45,8 @@ export default ts.config(
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
// Exclude Storybook files from main ESLint rules
|
// Exclude generated build output and Storybook files from ESLint
|
||||||
ignores: ['.storybook/**/*']
|
ignores: ['dist/**', 'build/**', '.svelte-kit/**', 'test-results/**', '.storybook/**/*']
|
||||||
},
|
},
|
||||||
storybook.configs['flat/recommended']
|
storybook.configs['flat/recommended']
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user