X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=.eslintrc.json;h=042254c95aca67a6a98b23bfad954568591f9e75;hb=3c405b9b45724a5d1bad779b4fba871d46ed52f1;hp=db8e6b9c5a34c73b635535b32aa297748a3c36bb;hpb=faa9d434b4d681837ff2a87603337c2623419669;p=github%2FChocobozzz%2FPeerTube.git diff --git a/.eslintrc.json b/.eslintrc.json index db8e6b9c5..042254c95 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", @@ -87,6 +88,7 @@ "@typescript-eslint/no-namespace": "off", "@typescript-eslint/no-empty-interface": "off", "@typescript-eslint/no-extraneous-class": "off", + "@typescript-eslint/no-use-before-define": "off", // bugged but useful "@typescript-eslint/restrict-plus-operands": "off" },