Commit 82f70db
chore(deps-dev): upgrade ESLint 8 → 9.x with flat config migration (#356)
* chore(deps-dev): upgrade eslint to 9.x with flat config migration
- Upgrade eslint 8.57.1 → 9.39.4
- Migrate .eslintrc (legacy) to eslint.config.js (flat config)
- Replace abandoned eslint-config-react-app with @eslint/js, typescript-eslint,
eslint-plugin-react-hooks, and globals
- Add lint script to package.json and lint step to CI
- Fix @ts-ignore → @ts-expect-error and remove unused variables surfaced by new rules
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* chore(deps-dev): remove eslint-plugin-react-hooks (YAGNI)
src/ has no hooks; only test fixtures use them.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* chore(eslint): remove dead rules (YAGNI)
Drop rules already covered by js.configs.recommended, disabled by
eslint-config-prettier, or unreachable due to no-var.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* ci: trigger pipeline check
* chore(eslint): fix globals — vitest not jest, drop es2015
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* ci: use npm install instead of npm ci
rolldown (vitest 4.x) has platform-specific optional binaries. A lockfile
generated on macOS omits linux variants; npm ci then fails on ubuntu runners
with 'Cannot find @rolldown/binding-linux-x64-gnu'. npm install resolves
the correct platform binaries regardless of what the lockfile recorded.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* Revert "ci: use npm install instead of npm ci"
This reverts commit 02e82f3.
* fix(deps): regenerate lockfile with all-platform optional deps
The lockfile regenerated during the rebase on macOS dropped the linux
rolldown bindings (npm/cli#4828), breaking npm ci on ubuntu runners.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 8473ad8 commit 82f70db
13 files changed
Lines changed: 1244 additions & 3979 deletions
File tree
- .github/workflows
- src
- all
- matchers
- tests
- lib
- matchers
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| 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 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
0 commit comments