diff --git a/bun.lockb b/bun.lockb index bf062de..e0f55c6 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 8c42999..ba3155e 100644 --- a/package.json +++ b/package.json @@ -8,16 +8,16 @@ "build": "next build", "dev": "next dev", "lint": "next lint", - "format": "prettier --write .", + "format": "prettier --check '**/*.{js,cjs,ts,tsx}'", "type": "tsc --noEmit", "start": "next start" }, "husky": { "hooks": { - "pre-commit": "fix-staged" + "pre-commit": "lint-staged" } }, - "fix-staged": { + "lint-staged": { "*.{js,cjs,ts,tsx}": [ "next lint --fix", "prettier --write" @@ -56,6 +56,7 @@ "eslint": "^8.54.0", "eslint-config-next": "^14.0.4", "husky": "^8.0.3", + "lint-staged": "^15.2.0", "postcss": "^8.4.31", "prettier": "^3.1.0", "prettier-plugin-tailwindcss": "^0.5.7",