diff --git a/package.json b/package.json index b404541968e..d92b31c2fc3 100644 --- a/package.json +++ b/package.json @@ -6,8 +6,8 @@ "preinstall": "npx only-allow pnpm", "postinstall": "simple-git-hooks", "bootstrap": "pnpm install && node scripts/bootstrap.mjs", - "lint": "eslint . --fix", - "format": "prettier --write .", + "lint": "eslint --fix --cache .", + "format": "prettier --write --cache .", "changelog": "varlet-cli changelog", "clean": "rimraf ./node_modules ./packages/*/node_modules", "dev": "pnpm --dir ./packages/varlet-ui dev",