diff --git a/package.json b/package.json index 387ca946b..55eb91251 100644 --- a/package.json +++ b/package.json @@ -74,7 +74,11 @@ "prettier": "^2.3.0", "typescript": "4.3.4" }, - + "husky": { + "hooks": { + "pre-commit": "lint-staged" + } + }, "lint-staged": { "**/*.{js,jsx,ts,tsx}": [ "prettier --write",