chore: migrate compiler dependency to microsoft/TypeScript - #2065
Merged
Conversation
Deploying rslint with
|
| Latest commit: |
d5be11c
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://41a89d1f.rslint.pages.dev |
| Branch Preview URL: | https://codex-migrate-to-typescript.rslint.pages.dev |
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
Move the archived
microsoft/typescript-gocompiler dependency tomicrosoft/TypeScript, pinned to1f70213d4922b434345f639b441681e470c7cfc1. Keep the checkout attypescript-go/; the Go module now lives intsc/and the JS AST API inpackages/typescript/.The previous SHA was rewritten during import. Its equivalent commit has an identical compiler tree but retains an unmapped nested submodule that breaks recursive Git operations, including checkout authentication setup. The selected main commit has the completed repository layout; the v7.0.2 stable tag predates that layout.
extendsand classimplements, which the new compiler represents asTypeReference/QualifiedName. This prevents missed reports such asno-restricted-propertiesoninterface I extends Foo.bar {}and unwantedid-denylistreports on the property name. Cover 14 affected rules, including Unicorn, React and type-awareunbound-method; retain ordinary type-name and wildcard behavior.Regression coverage
react/no-deprecated,unicorn/prefer-number-properties(including fixed output) and@typescript-eslint/unbound-method, plus six wildcard boundary cases. Include valid cases and exemptions to catch false positives as well as missed diagnostics.Validation
Validated with main at
3ccaa0ae, including its new React, Rstest and Unicorn rules, shared scope and disable-directive changes, and shorthand-binding symbol API.@vscode/test-electron2.5.2 to launch the renamedCodebinary in VS Code 1.136.1 on macOS.tsgo-client: all 7 integration tests passed, including shorthand-binding property symbols.origin/main, spelling, and formatting checks passed.Related Links
Checklist