Repository navigation
Move lint to ESLint 10 on a flat config - #512
Merged
jtklein merged 3 commits intoNov 23, 2026
Merged
Conversation
* Fix the 17 code sites the ESLint 10 presets report Closes #335 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * Keep isFasta behaviour unchanged: only the first line counts Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
Replace .eslintrc.cjs and eslint-config-react-app with eslint.config.js, make every plugin a direct dev dependency, autofix the new style reports, and add a test that lints known-bad fixtures through the real config. Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <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.
Summary
Moves
yarn lintfrom ESLint 8 witheslint-config-react-app(unmaintained) to ESLint 10 on one flat config. Command, scripts and CI workflows are unchanged.Two commits:
no-case-declarations,no-useless-assignment,prefer-for-of,no-empty,no-require-imports).src/lint.test.ts, which lints known-bad fixtures through the real config.Evidence
import-x/no-cyclereported nothing on a real TypeScript cycle; semicolons and quotes were unchecked.After:
src/lint.test.tsasserts reports forimport-x/no-cycle,react-hooks/rules-of-hooks,@stylistic/semi,@stylistic/quotes.Merge Danger
Door: two-way
Blast Radius: lint and dev tooling; production code changes are limited to the hand fixes, whitespace and quotes, and three inline disable comments.
🤖 Generated with Claude Code