Add a code style rule to make all state variables private (#1390)
This commit is contained in:
@ -16,6 +16,8 @@ Any exception or additions specific to our project are documented below.
|
|||||||
|
|
||||||
* Try to avoid acronyms and abbreviations.
|
* Try to avoid acronyms and abbreviations.
|
||||||
|
|
||||||
|
* All state variables should be private.
|
||||||
|
|
||||||
* Private state variables should have an underscore prefix.
|
* Private state variables should have an underscore prefix.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user