Looking for some styling, coding guidelines for your JavaScript code?
Have a look at the Principles of Writing Consistent, Idiomatic JavaScript on GitHub.
The idea of this guideline is that:
“All code in any code-base should look like a single person typed it, no matter how many people contributed.”
Some other useful guides:
- Code Conventions for the JavaScript Programming Language by Douglas Crockford
- Google JavaScript style guide
- Efficient JavaScript (Opera Developer Community)
Anyone with some other good coding guidelines for JavaScript development?