running lint before commiting

This commit is contained in:
Belen Curcio
2016-11-02 08:54:33 -03:00
parent d456575fc7
commit f64d6d293a
+17
View File
@@ -7,6 +7,17 @@
"start": "./server/bin/www",
"lint": "eslint ."
},
"config": {
"pre-git": {
"commit-msg": [],
"pre-commit": [
"npm run lint"
],
"pre-push": [],
"post-commit": [],
"post-merge": []
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/coralproject/talk.git"
@@ -27,5 +38,11 @@
"debug": "^2.2.0",
"express": "^4.14.0",
"mongoose": "^4.6.5"
},
"devDependencies": {
"chai": "^3.5.0",
"mocha": "^3.1.2",
"pre-git": "^3.10.0",
"supertest": "^2.0.1"
}
}