chore(deps): bump eslint to v10 (+ react-hooks 7, react-refresh 0.5)#58
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Dependabot's eslint 10 / @eslint/js 10 PRs failed
npm cibecause 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 10 enables two new recommended rules that flagged pre-existing issues (the build runs
eslint .first, so these block CI):causewhen rethrowing the timeout error in ClickHouseClient (adds ES2022.Error to tsconfig lib so the Error cause option typechecks; compile target stays ES2020).parsedinitializer 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.