You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: DEVELOPMENT.markdown
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -67,10 +67,11 @@ Coding style
67
67
Code style based on [Node.js code styles](http://github.com/ry/node/wiki/contributing).
68
68
69
69
1. Discuss large changes before coding (this is good idea in collaborative development)
70
-
2. Javascript code should follow [Douglas Crockford code conventions for the javascript programming language](http://javascript.crockford.com/code.html) and be run through [Nodelint](http://github.com/tav/nodelint). Also:
70
+
2. Javascript code should follow [Douglas Crockford code conventions for the javascript programming language](http://javascript.crockford.com/code.html) and be run through [Nodelint](http://github.com/tav/nodelint). And:
71
71
* Code should has two space indention
72
72
* Multi-line <code>if</code> statements must have braces
73
-
3. C++ code should follow [Google's C++ style guide](http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml) and be run through [cpplint.py](http://google-styleguide.googlecode.com/svn/trunk/cpplint/cpplint.py).
73
+
3. C++ code should follow [Google's C++ style guide](http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml) and be run through [cpplint.py](http://google-styleguide.googlecode.com/svn/trunk/cpplint/cpplint.py). And:
74
+
* Max line length is 120 symbols
74
75
4. All code must be MIT licensed
75
76
76
77
If you have `cpplint.py` in `$PATH`, you can lint `node-mysql-libmysqlclient` code by executing:
0 commit comments