Optimize server eslint

pull/4654/head
Chocobozzz 2021-12-16 17:06:52 +01:00
parent 754c52b9b9
commit b8a4afa4c2
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 1 additions and 2 deletions

View File

@ -100,6 +100,7 @@
"node_modules/" "node_modules/"
], ],
"parserOptions": { "parserOptions": {
"EXPERIMENTAL_useSourceOfProjectReferenceRedirect": true,
"project": [ "project": [
"./tsconfig.json", "./tsconfig.json",
"./shared/tsconfig.json", "./shared/tsconfig.json",

View File

@ -98,8 +98,6 @@ elif [ "$1" = "external-plugins" ]; then
runTest "$1" 1 $externalPluginsFiles runTest "$1" 1 $externalPluginsFiles
elif [ "$1" = "lint" ]; then elif [ "$1" = "lint" ]; then
npm run build:server
npm run eslint -- --ext .ts "./server/**/*.ts" "shared/**/*.ts" "scripts/**/*.ts" npm run eslint -- --ext .ts "./server/**/*.ts" "shared/**/*.ts" "scripts/**/*.ts"
npm run swagger-cli -- validate support/doc/api/openapi.yaml npm run swagger-cli -- validate support/doc/api/openapi.yaml