fix: 在 lint-staged 中添加 oxlint 修复命令

This commit is contained in:
mini2024
2025-04-05 16:31:42 +08:00
parent f0c6290e89
commit 4ee2048ae4
2 changed files with 4 additions and 2 deletions

View File

@@ -32,7 +32,8 @@
"lint-staged": {
"src/**/*.{js,ts,tsx,vue}": [
"prettier --write",
"eslint --fix"
"eslint --fix",
"oxlint --fix"
]
},
"pnpm": {