Fix contributing guidelines.

master
Artem Sapegin 2013-05-13 17:03:12 +04:00
parent 845d022fb3
commit a24824fd2b
1 changed files with 11 additions and 11 deletions

View File

@ -15,18 +15,18 @@ I love pull requests. And following this simple guidelines will make your pull r
## JavaScript code style
- Tab indentation
- Single-quotes
- Semicolon
- Strict mode
- No trailing whitespace
- Variables where needed
- Multiple variable statements (*not sure, but want to try*)
- Space after keywords and between arguments and operators
- Tab indentation.
- Single-quotes.
- Semicolon.
- Strict mode.
- No trailing whitespace.
- Variables where needed.
- Multiple variable statements.
- Space after keywords and between arguments and operators.
- Use === and !== over == and !=.
- Return early
- Limit line lengths to 120 chars
- Prefer readability over religion
- Return early.
- Limit line lengths to 120 chars.
- Prefer readability over religion.
Example: