chore: vsh lint

pull/336/head
xingyu4j 2026-03-13 23:41:17 +08:00
parent 16da0eaca3
commit 7b064e9f33
2 changed files with 1 additions and 5 deletions

View File

@ -52,10 +52,6 @@
"dev:play": "pnpm -F @vben/playground run dev", "dev:play": "pnpm -F @vben/playground run dev",
"format": "vsh lint --format", "format": "vsh lint --format",
"lint": "vsh lint", "lint": "vsh lint",
"lint:eslint": "eslint . --cache",
"lint:oxc": "oxlint .",
"lint:oxc:type-aware": "oxlint . --type-aware",
"lint:style": "stylelint \"**/*.{vue,css,less,scss}\" --cache",
"postinstall": "pnpm -r run stub --if-present", "postinstall": "pnpm -r run stub --if-present",
"preinstall": "npx only-allow pnpm", "preinstall": "npx only-allow pnpm",
"preview": "turbo-run preview", "preview": "turbo-run preview",

View File

@ -28,7 +28,7 @@ async function runLint({ format }: LintCommandOptions) {
return; return;
} }
await Promise.all([ await Promise.all([
execaCommand(`oxfmt .`, { execaCommand(`oxfmt . --check`, {
stdio: 'inherit', stdio: 'inherit',
}), }),
execaCommand(`oxlint .`, { execaCommand(`oxlint .`, {