Clone this wiki locally
Aura Coding Standards are reflective and little different to other open source JS projects such as Node, Underscore, Backbone.
Unless otherwise noted, the zen of it is alterations to the code should be consistent with the current project. The project itself has few specifics, but here are a few:
- 2 spaces for indentation
- Use of multiple
vardeclarations (see this discussion and this article)
'use strict'with single quotes
You can view the current JSHint configuration in the