Repository navigation
chore: build with TypeScript 6 and stable typescript-eslint - #34
Draft
sheepsteak wants to merge 1 commit into
Draft
sheepsteak wants to merge 1 commit into
sheepsteak wants to merge 1 commit into
Conversation
|
|
sheepsteak
force-pushed
the
chris/typescript-6
branch
2 times, most recently
from
November 30, 2026 11:49
eea26f4 to
74c4c83
Compare
sheepsteak
force-pushed
the
chris/typescript-6
branch
from
November 30, 2026 11:52
74c4c83 to
4775dbd
Compare
typescript-eslint moves from the 8.0 alpha to ^8.58.0, the first release that supports TypeScript 6. The alpha range already resolves to the latest 8.x on fresh installs, so consumers get the same version as before. This also drops the resolutions override that pinned the alpha in this repo. TypeScript 6 no longer includes @types packages by default, so tsconfig lists node. The built dist only changes in the helper code TypeScript emits. Also removes globals, @typescript-eslint/rule-tester and @typescript-eslint/eslint-plugin (typescript-eslint includes it), which nothing imports, and ignores the tsconfig.tsbuildinfo file the build writes.
sheepsteak
force-pushed
the
chris/typescript-6
branch
from
November 30, 2026 12:10
4775dbd to
3766796
Compare
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.
Second of three stacked PRs split out of #32, on top of #33. Consumers get the same behaviour as before.
typescript-eslint,@typescript-eslint/parserand@typescript-eslint/utilsmove from^8.0.0-alpha.30to^8.58.0, the first release that supports TypeScript 6. 8.56 and 8.57 warn on TypeScript 6 projects. The alpha range already resolves to the latest 8.x on fresh installs, so consumers get the same versions as before.tsconfig.jsonlistsnodeintypes, because TypeScript 6 no longer includes@typespackages by default. The builtdist/only differs in helper code TypeScript emits (a newer__importStar, and exported functions assigned at the top of each module), so the plugin behaves the same.globals,@typescript-eslint/rule-testerand@typescript-eslint/eslint-plugin(it comes withtypescript-eslint), which nothing imports, plus theresolutionsoverride that pinned@typescript-eslint/utilsto the alpha..gitignorecovers thetsconfig.tsbuildinfofile thattsc -bnow writes.TypeScript stays a dev dependency, so consumers can stay on TypeScript 5. TypeScript 7 isn't possible here yet: its compiler builds the repo, but typescript-eslint refuses to load with it, and our lint and tests run through typescript-eslint (typescript-eslint#10940).
Checklist