]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - .eslintrc.json
Add ability to disable p2p in embed with URL
[github/Chocobozzz/PeerTube.git] / .eslintrc.json
index 042254c95aca67a6a98b23bfad954568591f9e75..c7597cef3dbe5bc45c3b41f4f2c3889a8d60b8d1 100644 (file)
     "@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"
   },
   "parserOptions": {
     "project": [
       "./tsconfig.json",
+      "./shared/tsconfig.json",
+      "./scripts/tsconfig.json",
+      "./server/tsconfig.json",
       "./server/tools/tsconfig.json"
     ]
   }