Closed
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