From 7b064e9f33b21a427fb1e78369b735e38af0f70f Mon Sep 17 00:00:00 2001 From: xingyu4j Date: Fri, 13 Mar 2026 23:41:17 +0800 Subject: [PATCH] chore: vsh lint --- package.json | 4 ---- scripts/vsh/src/lint/index.ts | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/package.json b/package.json index 9c7d19285..6f6332a50 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/scripts/vsh/src/lint/index.ts b/scripts/vsh/src/lint/index.ts index b9667eac5..8ae70ee11 100644 --- a/scripts/vsh/src/lint/index.ts +++ b/scripts/vsh/src/lint/index.ts @@ -28,7 +28,7 @@ async function runLint({ format }: LintCommandOptions) { return; } await Promise.all([ - execaCommand(`oxfmt .`, { + execaCommand(`oxfmt . --check`, { stdio: 'inherit', }), execaCommand(`oxlint .`, {