From ef579617113d10a58cd6fb717f35de7e22c4cfd1 Mon Sep 17 00:00:00 2001 From: Kamuela Franco Date: Sat, 9 Dec 2017 14:53:40 +0000 Subject: Update style-guide.rst to include enum style --- docs/style-guide.rst | 6 ++++++ 1 file changed, 6 insertions(+) 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 ========================== -- cgit