no-default-visibility
🔧 Problems reported by this rule can be automatically fixed by using the
--fixflag
Forbids the use of default visibility for state variables
Rule details
Section titled “Rule details”Examples of correct code for this rule:
contract Example { uint256 public value;}Examples of incorrect code for this rule:
contract Example { uint256 value;}