Ignoring Flow import type
statements when using import/max-dependencies
#1136
Labels
import type
statements when using import/max-dependencies
#1136
Currently, Flow
import type
statements are included in the dependency count when using theimport/max-dependencies
rule. This makes the rule far less useful for identifying code smells in projects using Flow, especially if you tend to put type defintions in separate files for the rest of the code (which then need separate imports).I think it would be useful to have an option to ignore
import type
statements when counting depencencies. Thoughts?The text was updated successfully, but these errors were encountered: