Enhancement: [consistent-type-imports] option to only enable for internal dependencies #9047
Closed
4 tasks done
Labels
enhancement: plugin rule option
New rule option for an existing eslint-plugin rule
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
wontfix
This will not be worked on
Before You File a Proposal Please Confirm You Have Done The Following...
My proposal is suitable for this project
Link to the rule's documentation
https://typescript-eslint.io/rules/consistent-type-imports/
Description
The largest benefit I see in the consistent-type-imports rule is decreasing the amount of cyclic dependencies in the generated code.
I propose to add a new option to the
consistent-type-imports
rule that would only enable the checks for internal dependencies (where import path starts with a.
).Fail
Pass
Additional Info
No response
The text was updated successfully, but these errors were encountered: