]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Optimize server eslint
authorChocobozzz <me@florianbigard.com>
Thu, 16 Dec 2021 16:06:52 +0000 (17:06 +0100)
committerChocobozzz <me@florianbigard.com>
Thu, 16 Dec 2021 16:06:52 +0000 (17:06 +0100)
.eslintrc.json
scripts/ci.sh

index c7597cef3dbe5bc45c3b41f4f2c3889a8d60b8d1..dd3821398021703a3e9a576c6f561ed012ca849a 100644 (file)
     "node_modules/"
   ],
   "parserOptions": {
+    "EXPERIMENTAL_useSourceOfProjectReferenceRedirect": true,
     "project": [
       "./tsconfig.json",
       "./shared/tsconfig.json",
index 7ad6f38e95f5e5f5be740f8edf4dc0ccf0461d94..a628cbcedb34e4832df075fa67dc97e670a11bb5 100755 (executable)
@@ -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