Enforce the return values of a function to be named
This rule accepts a string option of rule severity. Must be one of “error”, “warn”, “off”. Default to warn.
{
"rules": {
"gas-named-return-values": "warn"
}
}
function checkBalance(address wallet) external view returns(uint256 retBalance) {}
function checkBalance(address wallet) external view returns(uint256) {}
This rule was introduced in Solhint 4.5.0