Commit 325088c
chore: upgrade ESLint to v10 with flat config
Migrate from ESLint v8 with legacy .eslintrc.json to ESLint v10 with
flat config (eslint.config.mjs).
- Replace eslint v8 with v10, @typescript-eslint/parser and
@typescript-eslint/eslint-plugin with the unified typescript-eslint
package
- Convert .eslintrc.json to eslint.config.mjs using tseslint.config()
- Move .eslintignore entries into the flat config ignores property
- Remove --config flag from lint script (flat config is auto-detected)
- Fix lint errors caught by new rules (trailing commas in
generate-docs.ts, useless assignment)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 2dc24a2 commit 325088c
6 files changed
Lines changed: 597 additions & 660 deletions
This file was deleted.
This file was deleted.
| 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 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
173 | | - | |
| 173 | + | |
174 | 174 | | |
0 commit comments