Rule: no-duplicate-imports

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.

Config

“allow-namespace-imports” allows you to import namespaces on separate lines.

Config examples
"no-duplicate-imports": [true, {"allow-namespace-imports": true}]
Schema
{
  "type": "object",
  "properties": {
    "allow-namespace-imports": {
      "type": "boolean"
    }
  }
}