Optimize server eslint
This commit is contained in:
parent
754c52b9b9
commit
b8a4afa4c2
|
@ -100,6 +100,7 @@
|
|||
"node_modules/"
|
||||
],
|
||||
"parserOptions": {
|
||||
"EXPERIMENTAL_useSourceOfProjectReferenceRedirect": true,
|
||||
"project": [
|
||||
"./tsconfig.json",
|
||||
"./shared/tsconfig.json",
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue