aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/ci.sh
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-12-16 17:06:52 +0100
committerChocobozzz <me@florianbigard.com>2021-12-16 17:06:52 +0100
commitb8a4afa4c2ba8ed8ebfc4530f002f0e5037a0cf3 (patch)
tree7fba327edb7658c2501669996f8e3403074a4ce8 /scripts/ci.sh
parent754c52b9b998a825fd830d5ac527a67e0eefeb9a (diff)
downloadPeerTube-b8a4afa4c2ba8ed8ebfc4530f002f0e5037a0cf3.tar.gz
PeerTube-b8a4afa4c2ba8ed8ebfc4530f002f0e5037a0cf3.tar.zst
PeerTube-b8a4afa4c2ba8ed8ebfc4530f002f0e5037a0cf3.zip
Optimize server eslint
Diffstat (limited to 'scripts/ci.sh')
-rwxr-xr-xscripts/ci.sh2
1 files changed, 0 insertions, 2 deletions
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
98 98
99 runTest "$1" 1 $externalPluginsFiles 99 runTest "$1" 1 $externalPluginsFiles
100elif [ "$1" = "lint" ]; then 100elif [ "$1" = "lint" ]; then
101 npm run build:server
102
103 npm run eslint -- --ext .ts "./server/**/*.ts" "shared/**/*.ts" "scripts/**/*.ts" 101 npm run eslint -- --ext .ts "./server/**/*.ts" "shared/**/*.ts" "scripts/**/*.ts"
104 npm run swagger-cli -- validate support/doc/api/openapi.yaml 102 npm run swagger-cli -- validate support/doc/api/openapi.yaml
105 103