X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=.eslintrc.json;h=dd3821398021703a3e9a576c6f561ed012ca849a;hb=0cc253c9719b1e361d33d62adcef4c292cc98be9;hp=042254c95aca67a6a98b23bfad954568591f9e75;hpb=8ee37c5f38b0f9b7e97239197d5590109c163250;p=github%2FChocobozzz%2FPeerTube.git diff --git a/.eslintrc.json b/.eslintrc.json index 042254c95..dd3821398 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -89,6 +89,10 @@ "@typescript-eslint/no-empty-interface": "off", "@typescript-eslint/no-extraneous-class": "off", "@typescript-eslint/no-use-before-define": "off", + + "require-await": "off", + "@typescript-eslint/require-await": "error", + // bugged but useful "@typescript-eslint/restrict-plus-operands": "off" }, @@ -96,8 +100,12 @@ "node_modules/" ], "parserOptions": { + "EXPERIMENTAL_useSourceOfProjectReferenceRedirect": true, "project": [ "./tsconfig.json", + "./shared/tsconfig.json", + "./scripts/tsconfig.json", + "./server/tsconfig.json", "./server/tools/tsconfig.json" ] }