diff options
-rw-r--r-- | docs/style-guide.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/style-guide.rst b/docs/style-guide.rst index a438b3d0..5b6f42a2 100644 --- a/docs/style-guide.rst +++ b/docs/style-guide.rst @@ -739,6 +739,12 @@ Modifier Names Use mixedCase. Examples: ``onlyBy``, ``onlyAfter``, ``onlyDuringThePreSale``. +Enums +===== + +Enums, in the style of simple type declarations, should be named using the CapWords style. Examples: ``TokenGroup``, ``Frame``, ``HashStyle``, ``CharacterLocation``. + + Avoiding Naming Collisions ========================== |