-
Fork the repo.
-
Install node_modules by running
npm install. -
Enable the pre-commit-hook by running
grunt githooksonce. -
Add commit.template to
.git/configby runninggit config commit.template ./.gitmessageonce. -
Happy coding ...
-
Use JShint on your code, either with
.jshintrcorgrunt jshint. Thegrunttask is automatically run ongrunt,grunt build,grunt dev,grunt watchand of course as a pre-commit-hook. -
Push to your fork and submit a pull request.
-
Please give us some time to review your pull request.
-
.editorconfigfor text editors like Sublime Text. Read more at editorconfig.org. -
settings/jetbrains.jarfor WebStorm, PHPStorm or other JetBrains IDEs. -
Four spaces.
-
No tabs.
-
No trailing whitespace.
-
Empty new line at the end of a file.
-
Follow the conventions you see used in the source already.