Allow prefer-default-export
to report for files without default exports
#2600
Labels
prefer-default-export
to report for files without default exports
#2600
I noticed that the prefer-default-export rule only triggers when there is a single named export in a file. I would like for it to trigger for any file that doesn't have a default export: whether it has multiple named exports, a single named export, or no exports at all (but each of these could be configuration options for this rule).
The following patterns would be considered warnings:
The following patterns would not be considered warnings:
The text was updated successfully, but these errors were encountered: