chore: setup lint-stage
This commit is contained in:
+14
-6
@@ -47,18 +47,26 @@
|
||||
"typecheck": "tsc --noEmit"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@antfu/eslint-config": "^0.35.2",
|
||||
"@antfu/eslint-config": "^0.35.3",
|
||||
"@antfu/ni": "^0.20.0",
|
||||
"@antfu/utils": "^0.7.2",
|
||||
"@types/node": "^18.13.0",
|
||||
"bumpp": "^8.2.1",
|
||||
"@types/node": "^18.14.1",
|
||||
"bumpp": "^9.0.0",
|
||||
"eslint": "^8.34.0",
|
||||
"esno": "^0.16.3",
|
||||
"pnpm": "^7.27.0",
|
||||
"lint-staged": "^13.1.2",
|
||||
"pnpm": "^7.27.1",
|
||||
"rimraf": "^4.1.2",
|
||||
"simple-git-hooks": "^2.8.1",
|
||||
"typescript": "^4.9.5",
|
||||
"unbuild": "^1.1.1",
|
||||
"vite": "^4.1.1",
|
||||
"unbuild": "^1.1.2",
|
||||
"vite": "^4.1.4",
|
||||
"vitest": "^0.28.5"
|
||||
},
|
||||
"simple-git-hooks": {
|
||||
"pre-commit": "pnpm lint-staged"
|
||||
},
|
||||
"lint-staged": {
|
||||
"*": "eslint --fix"
|
||||
}
|
||||
}
|
||||
|
||||
Generated
+738
-185
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user