refactor(deps): lift Next 15→16, ESLint 9→10, TypeScript 5.7→6 - #24
Merged
Conversation
- next ^15.1.4 → ^16 (16.3.3), eslint-config-next ^15.5.20 → ^16 - eslint ^9 → ^10 (10.9.1): eslintrc format removed, so .eslintrc.json is replaced by flat eslint.config.mjs built on eslint-config-next's native flat exports (core-web-vitals + typescript) - lint script: `next lint` (removed in Next 16) → `eslint .` - settings.react.version pinned to '19' — eslint-plugin-react's 'detect' calls getFilename(), removed in ESLint 10 - typescript ^5.7.3 → ^6 (6.0.3) - tsconfig: Next 16 build reconfigured jsx→react-jsx and added .next/dev/types to include (mandatory Next 16 changes) Verified: format:check, lint, typecheck, 17/17 tests, next build all green. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn
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.
What moved
Traps handled
next lintremoved in Next 16 → lint script is noweslint ...eslintrc.jsondeleted, replaced by flateslint.config.mjsbuilt on eslint-config-next v16's native flat exports (core-web-vitals+typescript).version: 'detect'crashes under ESLint 10 (getFilename is not a function) → pinnedsettings.react.version: '19'.jsx: react-jsx(mandatory) and added.next/dev/types/**/*.tsto include; committed as reformatted by prettier.middleware.tspresent;next.config.tsis empty — no removed options.params/searchParamsmisuse found; typecheck + build confirm).Verification
npm run format:check✓npm run lint✓ (0 errors)npm run typecheck✓npm test✓ 17/17npm run build✓ (Next 16.3.3, all routes compile)🤖 Generated with Claude Code
https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn