Browse Source

Optimize server eslint

tags/v4.1.0-rc.1
Chocobozzz 6 months ago
parent
commit
b8a4afa4c2
No known key found for this signature in database GPG Key ID: 583A612D890159BE
2 changed files with 1 additions and 2 deletions
  1. +1
    -0
      .eslintrc.json
  2. +0
    -2
      scripts/ci.sh

+ 1
- 0
.eslintrc.json View File

@@ -100,6 +100,7 @@
"node_modules/"
],
"parserOptions": {
"EXPERIMENTAL_useSourceOfProjectReferenceRedirect": true,
"project": [
"./tsconfig.json",
"./shared/tsconfig.json",


+ 0
- 2
scripts/ci.sh View File

@@ -98,8 +98,6 @@ elif [ "$1" = "external-plugins" ]; then

runTest "$1" 1 $externalPluginsFiles
elif [ "$1" = "lint" ]; then
npm run build:server

npm run eslint -- --ext .ts "./server/**/*.ts" "shared/**/*.ts" "scripts/**/*.ts"
npm run swagger-cli -- validate support/doc/api/openapi.yaml



Loading…
Cancel
Save