X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=.eslintrc.json;h=dd3821398021703a3e9a576c6f561ed012ca849a;hb=743dab5517d4501f6b35cfc795de6c8b6f41ebb3;hp=fa6fb1b6f2ea02e03af32c01c37b284486f0d500;hpb=a35a22797c99f17924347da9a226068c3dbe4787;p=github%2FChocobozzz%2FPeerTube.git diff --git a/.eslintrc.json b/.eslintrc.json index fa6fb1b6f..dd3821398 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -88,6 +88,11 @@ "@typescript-eslint/no-namespace": "off", "@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" }, @@ -95,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" ] }