Rule to require leading underscores in private variables #90
Closed
Description
Hi! In OpenZeppelin we use leading underscores for private
variables and functions, and internal
functions (to both emphasize this attribute, and avoid clashing with public
names).
Would it be possible to add a rule to enforce this sort of thing? I currently need to disable some rules, since e.g. I have private
variables that are also constant
(bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7
), and the snake case rule doesn't support leading underscores.
Thanks!