[consistent-type-imports] new rule request #1720
Labels
package: eslint-plugin
Angular-specific TypeScript rules
triage
This issue needs to be looked at and categorized by a maintainer
Description of the issue
ESLint has a great rule https://typescript-eslint.io/rules/consistent-type-imports/ but it doesn't work with Angular as it doesn't detect the DI pattern of Angular and flags classes as being used as types when Angular needs to keep the references.
I was wondering if it would be too difficult to add the same rule to the Angular plugin extending the existing rule and just ignoring places where DI is being used e.g. constructors?
The text was updated successfully, but these errors were encountered: