mirror of
https://github.com/imdap/ruoyi-plus-vben5.git
synced 2026-04-23 00:38:34 +08:00
chore: vsh lint
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -28,7 +28,7 @@ async function runLint({ format }: LintCommandOptions) {
|
||||
return;
|
||||
}
|
||||
await Promise.all([
|
||||
execaCommand(`oxfmt .`, {
|
||||
execaCommand(`oxfmt . --check`, {
|
||||
stdio: 'inherit',
|
||||
}),
|
||||
execaCommand(`oxlint .`, {
|
||||
|
||||
Reference in New Issue
Block a user