Added a precommit-hook

This commit is contained in:
Mario Basic
2015-06-18 13:59:34 +02:00
parent 4c968263f7
commit dd2263d37e
2 changed files with 11 additions and 2 deletions

6
.validate.json Normal file
View File

@@ -0,0 +1,6 @@
{
"scripts": {
"lint": "jshint ."
},
"pre-commit": ["lint", "validate", "test"]
}