Skip to content

Commit

Permalink
feat: use prettier cache on npm lint script
Browse files Browse the repository at this point in the history
  • Loading branch information
HiDeoo committed Jan 10, 2023
1 parent c8bffa8 commit 3068c07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -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"
},
Expand Down
2 changes: 1 addition & 1 deletion templates/package.json
Expand Up @@ -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"
Expand Down

0 comments on commit 3068c07

Please sign in to comment.