Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Optimize server eslint

Chocobozzzb8a4afa4c2ba
diff --git a/.eslintrc.json b/.eslintrc.json
index c7597cef3d..dd38213980 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 7ad6f38e95..a628cbcedb 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