]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - .eslintrc.json
Launch yarn before linking to new peertube version
[github/Chocobozzz/PeerTube.git] / .eslintrc.json
index db8e6b9c5a34c73b635535b32aa297748a3c36bb..a49a9e71b4a190cfc2704f039d0c94b5c60c8bab 100644 (file)
@@ -23,6 +23,7 @@
       "consistent-as-needed"
     ],
     "padded-blocks": "off",
+    "prefer-regex-literals": "off",
     "no-async-promise-executor": "off",
     "dot-notation": "off",
     "promise/param-names": "off",
     "@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"
   },