Skip to content

Commit 9d2f85f

Browse files
committed
chore: replace lint-staged with nano-staged
1 parent 80588a7 commit 9d2f85f

File tree

2 files changed

+16
-278
lines changed

2 files changed

+16
-278
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
"es-toolkit": "^1.32.0",
9090
"eslint": "^9.20.1",
9191
"eslint-vitest-rule-tester": "^1.1.0",
92-
"lint-staged": "^15.4.3",
92+
"nano-staged": "^0.8.0",
9393
"oxc-transform": "^0.51.0",
9494
"simple-git-hooks": "^2.11.1",
9595
"tsdown": "^0.5.10",
@@ -102,9 +102,9 @@
102102
}
103103
},
104104
"simple-git-hooks": {
105-
"pre-commit": "npx lint-staged"
105+
"pre-commit": "npx nano-staged"
106106
},
107-
"lint-staged": {
107+
"nano-staged": {
108108
"*": "eslint --fix"
109109
}
110110
}

0 commit comments

Comments
 (0)