Thanks for wanting to contribute to this project !
Please pull request on the develop
branch, pull requests on master
will not be merged. The master
branch represents the state of the extension on the chrome webstore.
The Indent should be 2 spaces.
The maximum line length of a line should be 120 characters.
Several variable declarations should be indented of two spaces:
var
un = 1,
dos = 2,
tres = 3;
Always use semicolons and never rely in implicit insertion.
Quote strings with '
. Don't use "
.
Should be declared in upper case.
var CONTANT_1 = 10;
Use the ===
and !==
operators. The ==
and !=
operators do type coercion and should not be used.
When you when to throw an error, NEVER throw something else than an error.
throw new Error('description')
Use JSDoc
to format JavaScript comments. Read the docs.