-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
enhancementNew feature or requestNew feature or requestlocked due to agePlease open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.Please open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.package: type-utilsIssues related to the @typescript-eslint/type-utils packageIssues related to the @typescript-eslint/type-utils packageteam assignedA member of the typescript-eslint team should work on this.A member of the typescript-eslint team should work on this.
Description
Before You File a Proposal Please Confirm You Have Done The Following...
- I have searched for related issues and found none that match my proposal.
- I have searched the current rule list and found no rules that match my proposal.
- I have read the FAQ and my problem is not listed.
Relevant Package
type-utils
My proposal is suitable for this project
- I believe my proposal would be useful to the broader TypeScript community (meaning it is not a niche proposal).
Description
The PackageSpecifier
check currently checks the declaration file path for the string node_modules
and the name of the package:
I propose to use TypeScript's sourceFileToPackageName
map defined here.
Only problem is that it is currently marked as internal - but maybe we could get TS maintainers to open it up?
Fail
-
Pass
-
Additional Info
No response
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestlocked due to agePlease open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.Please open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.package: type-utilsIssues related to the @typescript-eslint/type-utils packageIssues related to the @typescript-eslint/type-utils packageteam assignedA member of the typescript-eslint team should work on this.A member of the typescript-eslint team should work on this.