Skip to content

Commit

Permalink
chore: add lint and format cache scripts (#1842)
Browse files Browse the repository at this point in the history
  • Loading branch information
chouchouji authored Jan 8, 2025
1 parent 156f649 commit c633362
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@
"preinstall": "npx only-allow pnpm",
"postinstall": "simple-git-hooks",
"bootstrap": "pnpm install && node scripts/bootstrap.mjs",
"lint": "eslint . --fix",
"lint": "eslint --fix .",
"lint:cache": "eslint --fix --cache .",
"format": "prettier --write .",
"format:cache": "prettier --write --cache .",
"changelog": "varlet-cli changelog",
"clean": "rimraf ./node_modules ./packages/*/node_modules",
"dev": "pnpm --dir ./packages/varlet-ui dev",
Expand Down

0 comments on commit c633362

Please sign in to comment.