Skip to content

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

  1. Discuss large changes on mailing list before coding
  2. Javascript code style
    1. has two space indention
    2. maximum 80 column width
    3. keywords followed by open-paren must be separated by a space. eg. if (blah) not if(blah)
    4. no space between function name and open paren e.g. blah(arg) not blah (arg)
    5. multi-line if statements must have braces.
  3. C++ code should follow Google’s C++ style guide and be run through cpplint.py
  4. Agree to the contributor agreement
Clone this wiki locally