Repository navigation
Swap lint to ESLint 10 on a flat config - #339
Merged
jtklein-agents merged 1 commit intoNov 23, 2026
Merged
jtklein-agents merged 1 commit into
jtklein-agents merged 1 commit into
Conversation
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>
jtklein-agents
merged commit Nov 23, 2026
aa6345b
into
spec/333-eslint-10-flat-config
9 checks passed
10 tasks
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
Closes #336. Second child of #333.
no-unsafe-declaration-mergingdisables inAlignment.ts(the interface and the class both report) and oneno-inferrable-typesdisable inRun.ts(the autofix turnedcode: undefined = undefinedinto implicitany).eslint-config-react-app, the two@typescript-eslint/*packages and theresolutionspins removed.Evidence
import-x/no-cyclereported nothing on a real TS cycle; semicolons and quotes were unchecked.After:
src/lint.test.tsasserts reports forimport-x/no-cycle,react-hooks/rules-of-hooks,@stylistic/semi,@stylistic/quoteson the fixtures, andyarn lintis clean:Merge Danger
Door: two-way
Blast Radius: lint and dev tooling only; no runtime code changes beyond whitespace, quotes and three comments. ESLint prints a
MODULE_TYPELESS_PACKAGE_JSONwarning foreslint.config.js(harmless; silencing it needs"type": "module", out of scope).🤖 Generated with Claude Code