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
typescript-estree
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
Forking #10383: right now, if you want to use the new Project Service, you have to go through @typescript-eslint/typescript-estree
. That's a rather large package with large dependencies: the catch-all @typescript-eslint/utils
, ts-api-utils
, etc.
There are two use cases where I think folks would want this split out:
- If another linter wants to use the Project Service itself (😍!)
- Enhancement: Move RuleCreator into its own package with fewer dependencies than utils #10383 (comment): starting to split up the
typescript-estree
andutils
packages so we can provide more granular exports forRuleCreator
& other utils
Additional Info
I've prototyped this locally and will send a draft PR soon edit: #11182. I think we'll also need to extract out a @typescript-eslint/tsconfig-utils
package to share:
CORE_COMPILER_OPTIONS
getParsedConfigFile
💖