chore: vsh lint
parent
16da0eaca3
commit
7b064e9f33
|
|
@ -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",
|
||||||
|
|
|
||||||
|
|
@ -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 .`, {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue