Skip to content

Commit d38d50e

Browse files
ui: exclude generated build dirs from prettier and eslint so lint errors stop being masked (ggml-org#23910)
1 parent 8b0e0db commit d38d50e

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

tools/ui/.prettierignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,9 @@ bun.lockb
77

88
# Miscellaneous
99
/static/
10+
11+
# Build output
12+
/dist/
13+
/build/
14+
/.svelte-kit/
15+
test-results

tools/ui/eslint.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ export default ts.config(
4545
}
4646
},
4747
{
48-
// Exclude Storybook files from main ESLint rules
49-
ignores: ['.storybook/**/*']
48+
// Exclude generated build output and Storybook files from ESLint
49+
ignores: ['dist/**', 'build/**', '.svelte-kit/**', 'test-results/**', '.storybook/**/*']
5050
},
5151
storybook.configs['flat/recommended']
5252
);

0 commit comments

Comments
 (0)