diff --git a/package.json b/package.json index 86beeb21e..9c0197143 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,10 @@ } }, "lint-staged": { - "*.js": "npm run lint" + "*.js": [ + "npm run lint", + "git add" + ] }, "dependencies": { "marked": "^0.7.0",