-
Fork the repo.
-
Install node_modules by running
npm install
. -
Enable the pre-commit-hook by running
grunt githooks
once. -
Add commit.template to
.git/config
by runninggit config commit.template ./.gitmessage
once. -
Happy coding ...
-
Use JShint on your code, either with
.jshintrc
orgrunt jshint
. Thegrunt
task is automatically run ongrunt
,grunt build
,grunt dev
,grunt watch
and 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.
-
.editorconfig
for text editors like Sublime Text. Read more at editorconfig.org. -
settings/jetbrains.jar
for 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.