warning | layout | title |
---|---|---|
This is a dynamically generated file. Do not edit manually. |
default |
comprehensive-interface | Solhint |
Check that all public or external functions are overridden. This is useful to make sure that the whole API is extracted in an interface.
This rule accepts a string option of rule severity. Must be one of "error", "warn", "off". Defaults to warn.
{
"rules": {
"comprehensive-interface": "warn"
}
}
pragma solidity ^0.7.0;
contract Foo is FooInterface {
function foo() public override {}
}
pragma solidity ^0.7.0;
contract Foo {
function foo() public {}
}
This rule was introduced in Solhint 3.3.0