chore: vsh lint

This commit is contained in:
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",
"format": "vsh lint --format",
"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",
"preinstall": "npx only-allow pnpm",
"preview": "turbo-run preview",

View File

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