File tree Expand file tree Collapse file tree 3 files changed +235
-4
lines changed Expand file tree Collapse file tree 3 files changed +235
-4
lines changed Original file line number Diff line number Diff line change 1+ npx lint-staged
Original file line number Diff line number Diff line change 1414 "docs:build" : " pnpm -C docs run build" ,
1515 "release" : " bumpp -r --commit \" chore(release): publish v%s\" " ,
1616 "update:deps" : " pnpx taze minor -w -f -l -r" ,
17- "test" : " echo \" Error: no test specified\" && exit 1"
17+ "test" : " echo \" Error: no test specified\" && exit 1" ,
18+ "prepare" : " husky"
1819 },
1920 "devDependencies" : {
2021 "@antfu/eslint-config" : " ^3.12.1" ,
2122 "@types/node" : " ^22.10.2" ,
2223 "bumpp" : " ^9.9.2" ,
2324 "eslint" : " ^9.17.0" ,
2425 "eslint-plugin-format" : " ^0.1.3" ,
26+ "husky" : " ^9.1.7" ,
27+ "lint-staged" : " ^15.3.0" ,
2528 "typescript" : " ^5.7.2" ,
2629 "unbuild" : " ^3.0.1"
2730 },
2831 "workspaces" : [
2932 " packages/*" ,
3033 " docs"
31- ]
34+ ],
35+ "lint-staged" : {
36+ "*" : " eslint --fix"
37+ }
3238}
You can’t perform that action at this time.
0 commit comments