Repository navigation
Upgrade ESLint to 10 with a flat config - #70
Merged
Merged
Conversation
- eslint 8 → 10 and typescript-eslint 8; eslint.config.mjs replaces .eslintrc.json with the same rules - Add consistent-type-assertions (casts use `x as T`) and no-floating-promises - Drop unused catch bindings, now reported by default - Remove casts that are no longer needed and fix the collaborator remove command's cast type Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ashirman
approved these changes
Oct 15, 2026
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.
Part of REV-135 (dependency cleanup, step 4). ESLint 8 is end-of-life. There's no change to runtime behaviour.
Changes
eslint8.45 → 10.11.0.typescript-eslint8.71.0 replaces the separate@typescript-eslint/parserand@typescript-eslint/eslint-pluginv6 packages.eslint.config.mjs(ESLint'sdefineConfigextendingtseslint.configs.base, with type information fromprojectService) replaces.eslintrc.json.no-var,prefer-const,eqeqeq,no-eval, and unused variables with_-prefixed names allowed.@typescript-eslint/consistent-type-assertions: the 103 old-style<Type>xcasts were auto-fixed tox as Type.@typescript-eslint/no-floating-promises: there were no violations. From now on, a promise that nobody awaits or handles fails lint.catchvariables: typescript-eslint 8 now reports them by default, so the 12 unused ones are written ascatch {.createHash(...) as any as stream.Transform,(chalk as any).dim,(knownLocations as any).find, andcommand as anyin the two release flows.resolve(null as void)→resolve()in the two bundler helpers. The SDK'srelease()andreleaseNative()still resolve tonull, as before.collaborator removecast its command to the add type when settingemail. It now uses the remove type.The source diff is mostly the cast rewrite.
Verification
tsc,npm run lint(0 problems) andnpm run format:checkare clean.🤖 Generated with Claude Code