diff options
author | Chocobozzz <me@florianbigard.com> | 2021-12-16 17:06:52 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-12-16 17:06:52 +0100 |
commit | b8a4afa4c2ba8ed8ebfc4530f002f0e5037a0cf3 (patch) | |
tree | 7fba327edb7658c2501669996f8e3403074a4ce8 /scripts/ci.sh | |
parent | 754c52b9b998a825fd830d5ac527a67e0eefeb9a (diff) | |
download | PeerTube-b8a4afa4c2ba8ed8ebfc4530f002f0e5037a0cf3.tar.gz PeerTube-b8a4afa4c2ba8ed8ebfc4530f002f0e5037a0cf3.tar.zst PeerTube-b8a4afa4c2ba8ed8ebfc4530f002f0e5037a0cf3.zip |
Optimize server eslint
Diffstat (limited to 'scripts/ci.sh')
-rwxr-xr-x | scripts/ci.sh | 2 |
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 |
100 | elif [ "$1" = "lint" ]; then | 100 | elif [ "$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 | ||