chore: setup lint-stage

This commit is contained in:
Anthony Fu
2023-02-25 00:00:28 +01:00
parent 3a70f34631
commit 9ba269f01a
2 changed files with 752 additions and 191 deletions
+14 -6
View File
@@ -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"
}
}
+738 -185
View File
File diff suppressed because it is too large Load Diff