Skip to content
ry edited this page Aug 6, 2010 · 1 revision

Email patches to [email protected] or post them to the node.js 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. All code must be MIT licensed