forked from nodejs/node-v0.x-archive
-
Notifications
You must be signed in to change notification settings - Fork 24
Contributing
Sannis edited this page Oct 18, 2010
·
17 revisions
Email patches to [email protected] or post them to the node.js development mailing list
- Discuss large changes on mailing list before coding
- Javascript code style
- has two space indention
- maximum 80 column width
- keywords followed by open-paren must be separated by a space. eg.
if (blah)
notif(blah)
- no space between function name and open paren e.g.
blah(arg)
notblah (arg)
- multi-line
if
statements must have braces.
- C++ code should follow Google’s C++ style guide and be run through cpplint.py
- Agree to the contributor agreement