Browse Source

Merge pull request #787 from maraoz/update/CONTRIBUTING/jsguide

update CONTRIBUTING.md with style guide
patch-2
Esteban Ordano 10 years ago
parent
commit
b698071516
  1. 4
      CONTRIBUTING.md

4
CONTRIBUTING.md

@ -66,6 +66,10 @@ guidelines are easier to detect and apply, and also more opinionated (the
design guidelines mentioned above are the way we think about general software design guidelines mentioned above are the way we think about general software
development and we believe they should be present on any software project). development and we believe they should be present on any software project).
### G0 - General: Default to felixge's style guide
Follow this Node.js style guide: https://github.com/felixge/node-style-guide#nodejs-style-guide
### G1 - General: No Magic Numbers ### G1 - General: No Magic Numbers
Avoid constants in the code as much as possible. Magic strings are also magic Avoid constants in the code as much as possible. Magic strings are also magic

Loading…
Cancel
Save