Commit 75377fd
chore(deps): bump eslint to v10 (+ react-hooks 7, react-refresh 0.5) (#58)
Dependabot's eslint 10 / @eslint/js 10 PRs failed `npm ci` because
eslint-plugin-react-hooks@5 and eslint-plugin-react-refresh@0.4 only
peer-support eslint <=9. Bump all four together so they resolve:
- eslint ^9.17.0 -> ^10.4.1
- @eslint/js ^9.17.0 -> ^10.0.1
- eslint-plugin-react-hooks ^5.0.0 -> ^7.1.1
- eslint-plugin-react-refresh ^0.4.16 -> ^0.5.3
eslint 10 enables two new recommended rules that flagged pre-existing
issues (the build runs `eslint .` first, so these block CI):
- preserve-caught-error: attach `cause` when rethrowing the timeout
error in ClickHouseClient (adds ES2022.Error to tsconfig lib so the
Error cause option typechecks; compile target stays ES2020).
- no-useless-assignment: drop the redundant `parsed` initializer and
remove ~300 lines of unreachable legacy code in decodeJSONColumn
(the version dispatch returns unconditionally before it).
Full suite (983 tests), lint, web + electron builds all pass.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 0365f8e commit 75377fd
5 files changed
Lines changed: 1664 additions & 2962 deletions
File tree
- src/core
- clickhouse
- decoder
0 commit comments