diff --git a/package.json b/package.json index b2691f2bb..2f7e02ac6 100644 --- a/package.json +++ b/package.json @@ -10,10 +10,12 @@ "dev": "webpack --watch" }, "husky": { - "hooks": {} + "hooks": { + "pre-commit": "lint-staged" + } }, "lint-staged": { - "src/js/**/*.js": [ + "frontend/src/**/*.js": [ "eslint", "git add" ]