solhint

duplicated-imports

Category Badge Default Severity Badge warn

Description

Check if an import is done twice in the same file and there is no alias

Options

This rule accepts a string option of rule severity. Must be one of “error”, “warn”, “off”. Defaults to warn.

Example Config

{
  "rules": {
    "duplicated-imports": "warn"
  }
}

Notes

Examples

This rule does not have examples.

Version

This rule is introduced in the latest version.

Resources