| warning | This is a dynamically generated file. Do not edit manually. |
|---|---|
| layout | default |
| title | 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 for 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 Aimport * as A from "./A.sol"import * from "foo.sol"import "foo.sol"This rule was introduced in Solhint 5.0.4