Skip to content

Commit c0aa8b4

Browse files
committed
chore: migrate from lint-staged to nano-staged
1 parent b1636eb commit c0aa8b4

2 files changed

Lines changed: 13 additions & 180 deletions

File tree

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"eslint": "latest",
4747
"installed-check": "latest",
4848
"knip": "latest",
49-
"lint-staged": "latest",
49+
"nano-staged": "^0.9.0",
5050
"simple-git-hooks": "latest",
5151
"typescript": "latest",
5252
"unbuild": "latest",
@@ -58,9 +58,9 @@
5858
"zero-vue": "link:."
5959
},
6060
"simple-git-hooks": {
61-
"pre-commit": "npx lint-staged"
61+
"pre-commit": "npx nano-staged"
6262
},
63-
"lint-staged": {
63+
"nano-staged": {
6464
"*.{js,ts,mjs,cjs,json,.*rc}": [
6565
"npx eslint --fix"
6666
]

0 commit comments

Comments
 (0)