Skip to content

Commit 7905c74

Browse files
committed
Max line length is 120 symbols for C/C++ sources
1 parent 6baf410 commit 7905c74

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

DEVELOPMENT.markdown

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,11 @@ Coding style
6767
Code style based on [Node.js code styles](http://github.com/ry/node/wiki/contributing).
6868

6969
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:
7171
* Code should has two space indention
7272
* 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
7475
4. All code must be MIT licensed
7576

7677
If you have `cpplint.py` in `$PATH`, you can lint `node-mysql-libmysqlclient` code by executing:

0 commit comments

Comments
 (0)