diff --git a/.husky/pre-commit b/.husky/pre-commit index 578eab2..cb2c84d 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1 +1 @@ -pnpm eslint-fix +pnpm lint-staged diff --git a/package.json b/package.json index cce9fec..07276b1 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ "lint": "next lint", "fix": "eslint . --fix", "eslint-fix": "eslint . --fix", + "lint-staged": "lint-staged", "prepare": "husky" }, "dependencies": {