Commit 2a526cd
committed
fix: resolve ESLint parser errors for src/stories after tsconfig split
src/stories was excluded from tsconfig.json (needed for the Storybook
v10 moduleResolution: node16 requirement) but ESLint still linted those
files — causing "file not found in project" parse errors.
Fix: add an overrides block in .eslintrc.js pointing stories files to
tsconfig.storybook.json, and add an explicit exclude in
tsconfig.storybook.json so it doesn't inherit the parent's exclusion
of src/stories.1 parent 0719206 commit 2a526cd
2 files changed
Lines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
41 | 50 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| 8 | + | |
8 | 9 | | |
0 commit comments