Path: blob/main/docs/rules/no-named-default.md
829 views
import/no-named-default
Reports use of a default export as a locally named import.
Rationale: the syntax exists to import default exports expressively, let's use it.
Note that type imports, as used by Flow, are always ignored.
Rule Details
Given:
...these would be valid:
...and these would be reported: