mirror of
https://github.com/labring/FastGPT.git
synced 2025-12-26 04:32:50 +00:00
eslint
This commit is contained in:
parent
5e47bffdba
commit
faf019ef28
|
|
@ -3,6 +3,7 @@ dist/
|
|||
build/
|
||||
.next/
|
||||
out/
|
||||
local/
|
||||
|
||||
# 依赖目录
|
||||
node_modules/
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue