X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=.eslintrc.json;h=a49a9e71b4a190cfc2704f039d0c94b5c60c8bab;hb=547cade98af9a4157031262755877d3189388ad9;hp=e71be9bc5699c80cb6215fa486e9517e992218ee;hpb=4a8d113b9b57d97ff13ad1608798eabca99643e4;p=github%2FChocobozzz%2FPeerTube.git diff --git a/.eslintrc.json b/.eslintrc.json index e71be9bc5..a49a9e71b 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -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", @@ -72,6 +73,8 @@ ], "@typescript-eslint/return-await": "off", + "@typescript-eslint/dot-notation": "off", + "@typescript-eslint/method-signature-style": "off", "@typescript-eslint/no-base-to-string": "off", "@typescript-eslint/quotes": "off", "@typescript-eslint/no-var-requires": "off", @@ -85,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" },