chore: vsh lint

vite8^2
xingyu4j 2026-03-14 19:48:40 +08:00
parent ead0b73e7b
commit 100aaa4cee
1 changed files with 4 additions and 4 deletions

View File

@ -16,10 +16,10 @@ async function runLint({ format }: LintCommandOptions) {
await execaCommand(`stylelint "**/*.{vue,css,less,scss}" --cache --fix`, { await execaCommand(`stylelint "**/*.{vue,css,less,scss}" --cache --fix`, {
stdio: 'inherit', stdio: 'inherit',
}); });
await execaCommand(`oxfmt .`, { await execaCommand(`oxfmt`, {
stdio: 'inherit', stdio: 'inherit',
}); });
await execaCommand(`oxlint . --fix`, { await execaCommand(`oxlint --fix`, {
stdio: 'inherit', stdio: 'inherit',
}); });
await execaCommand(`eslint . --cache --fix`, { await execaCommand(`eslint . --cache --fix`, {
@ -28,10 +28,10 @@ async function runLint({ format }: LintCommandOptions) {
return; return;
} }
await Promise.all([ await Promise.all([
execaCommand(`oxfmt . --check`, { execaCommand(`oxfmt --check`, {
stdio: 'inherit', stdio: 'inherit',
}), }),
execaCommand(`oxlint .`, { execaCommand(`oxlint`, {
stdio: 'inherit', stdio: 'inherit',
}), }),
execaCommand(`eslint . --cache`, { execaCommand(`eslint . --cache`, {