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

update CONTRIBUTING.md with style guide
This commit is contained in:
Esteban Ordano 2014-12-17 11:52:34 -03:00
commit b698071516
1 changed files with 4 additions and 0 deletions

View File

@ -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
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
Avoid constants in the code as much as possible. Magic strings are also magic