Skip to content

Files

Latest commit

 

History

History
13 lines (7 loc) · 411 Bytes

no-duplicate-imports.md

File metadata and controls

13 lines (7 loc) · 411 Bytes

Pattern: Multiple imports from the same module

Issue: -

Description

Disallows multiple import statements from the same module.

Rationale: Using a single import statement per module will make the code clearer because you can see everything being imported from that module on one line.

Further Reading