diff --git a/package.json b/package.json index 1608345..3318220 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "dev": "unbuild --stub", "build": "unbuild", "test": "vitest", - "lint": "prettier -c . && eslint . --cache --max-warnings=0 && tsc --noEmit", + "lint": "prettier -c --cache . && eslint . --cache --max-warnings=0 && tsc --noEmit", "prepare": "husky install", "prepublishOnly": "pnpm run build" }, diff --git a/templates/package.json b/templates/package.json index 92520be..a9d439d 100644 --- a/templates/package.json +++ b/templates/package.json @@ -34,7 +34,7 @@ "type": "git" }, "scripts": { - "lint": "prettier -c . && eslint . --cache --max-warnings=0 && tsc --noEmit", + "lint": "prettier -c --cache . && eslint . --cache --max-warnings=0 && tsc --noEmit", "test": "echo \"Error: no test implemented.\" && exit 1", "prepare": "husky install", "prepublishOnly": "pnpm build"