From faf019ef280dec3a8d9a5d291ec0277ead928a2f Mon Sep 17 00:00:00 2001 From: archer <545436317@qq.com> Date: Fri, 27 Jun 2025 15:50:14 +0800 Subject: [PATCH] eslint --- .eslintignore | 1 + package.json | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.eslintignore b/.eslintignore index 8c323cd20..18a697aa7 100644 --- a/.eslintignore +++ b/.eslintignore @@ -3,6 +3,7 @@ dist/ build/ .next/ out/ +local/ # 依赖目录 node_modules/ diff --git a/package.json b/package.json index df23feec4..e46810023 100644 --- a/package.json +++ b/package.json @@ -13,8 +13,7 @@ "previewIcon": "node ./scripts/icon/index.js", "api:gen": "tsc ./scripts/openapi/index.ts && node ./scripts/openapi/index.js && npx @redocly/cli build-docs ./scripts/openapi/openapi.json -o ./projects/app/public/openapi/index.html", "create:i18n": "node ./scripts/i18n/index.js", - "lint": "eslint \"**/*.{ts,tsx}\" --ignore-path .eslintignore", - "lint:fix": "eslint \"**/*.{ts,tsx}\" --fix --ignore-path .eslintignore", + "lint": "eslint \"**/*.{ts,tsx}\" --fix --ignore-path .eslintignore", "test": "vitest run", "test:workflow": "vitest run workflow" }, @@ -41,7 +40,7 @@ "pnpm format-code" ], "./**/**/*.{ts,tsx}": [ - "pnpm lint:fix" + "pnpm lint" ], "./docSite/**/**/*.md": "pnpm format-doc && pnpm gen:llms" },