Skip to content

Commit

Permalink
Merge pull request ethereum#3299 from KamuelaFranco/patch-1
Browse files Browse the repository at this point in the history
Update style-guide.rst to include enum style
  • Loading branch information
chriseth authored Dec 11, 2017
2 parents 4a1f18c + ef57961 commit a5d2cec
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/style-guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
==========================

Expand Down

0 comments on commit a5d2cec

Please sign in to comment.