Browse Source

Optimize server eslint

Chocobozzz 2 years ago
parent
commit
b8a4afa4c2
2 changed files with 1 additions and 2 deletions
  1. 1 0
      .eslintrc.json
  2. 0 2
      scripts/ci.sh

+ 1 - 0
.eslintrc.json

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

+ 0 - 2
scripts/ci.sh

@@ -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