New rule: consistent-type-import #1985
Labels
enhancement: new plugin rule
New rule request for eslint-plugin
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
Repro
All 3 lines above are valid ways of importing types.
Expected Result
A rule informing about the mix of different ways of type importing can be helpful to keep a consistent way of importing types over the project.
Actual Result
As for my knowledge there is no rule available for this purpose.
The text was updated successfully, but these errors were encountered: