Try to apply eslint automatically

This commit is contained in:
Jonny Barnes 2016-06-14 22:35:15 +01:00
parent a27268bcbb
commit 0725f75b70

View file

@ -14,6 +14,11 @@
"private": true,
"scripts": {
"prod": "gulp --production",
"dev": "gulp watch"
}
"dev": "gulp watch",
"lint-staged": "lint-staged"
},
"lint-staged": {
"eslint": "public/assets/js/*.js"
},
"pre-commit": ["lint-staged"]
}