You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a solhint rule to enforce the following recommendation from the Chainlink contracts style guide:
All contract variables should be private by default. Getters should be explicitly written and documented when you want to expose a variable publicly.
Whether a getter function reads from storage, a constant, or calculates a value from somewhere else, that’s all implementation details that should not be exposed to the consumer by casing or other conventions.
Description
Add a solhint rule to enforce the following recommendation from the Chainlink contracts style guide:
https://github.com/smartcontractkit/chainlink/blob/3a74dc13b2d42316803b26b2254caa12f7beccb4/contracts/STYLE_GUIDE.md?plain=1#L323
Steps
STYLE_GUIDE.md
to reference the new ruleThe text was updated successfully, but these errors were encountered: