From b8a4afa4c2ba8ed8ebfc4530f002f0e5037a0cf3 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 16 Dec 2021 17:06:52 +0100 Subject: [PATCH] Optimize server eslint --- .eslintrc.json | 1 + scripts/ci.sh | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index c7597cef3..dd3821398 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -100,6 +100,7 @@ "node_modules/" ], "parserOptions": { + "EXPERIMENTAL_useSourceOfProjectReferenceRedirect": true, "project": [ "./tsconfig.json", "./shared/tsconfig.json", diff --git a/scripts/ci.sh b/scripts/ci.sh index 7ad6f38e9..a628cbced 100755 --- a/scripts/ci.sh +++ b/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