warning | layout | title |
---|---|---|
This is a dynamically generated file. Do not edit manually. |
default |
no-global-import | Solhint |
The {"extends": "solhint:recommended"} property in a configuration file enables this rule.
Import statement includes an entire file instead of selected symbols.
This rule accepts a string option of rule severity. Must be one of "error", "warn", "off". Defaults to warn.
{
"rules": {
"no-global-import": "warn"
}
}
import {A} from "./A.sol"
import "./A.sol" as A
import * as A from "./A.sol"
import * from "foo.sol"
import "foo.sol"
This rule is introduced in the latest version.