Commit 78353e7
Migrate to ESLint flat config and unblock ESLint 10 upgrade
eslint-plugin-import has no release supporting ESLint 10 (peer range
caps at ^9), and ESLint 10 removed legacy .eslintrc.js support
entirely. Replace .eslintrc.js/.eslintignore with a flat eslint.config.js
and swap eslint-plugin-import for the actively maintained
eslint-plugin-import-x fork.
Fix issues the migration surfaced: stale import/no-unresolved disable
comments (old plugin namespace), missing error causes on rethrown
errors and an unused var/binding flagged by new rules in ESLint's
expanded recommended set, and a pre-existing test:lint glob bug where
`./src/**/*.js` wasn't expanding recursively under sh, silently
skipping top-level src files in CI.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>1 parent 66a099d commit 78353e7
9 files changed
Lines changed: 1051 additions & 549 deletions
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
0 commit comments