From e0b6e4a95405eb48757b4ab1dac9193ed42153d7 Mon Sep 17 00:00:00 2001 From: Miodec Date: Fri, 11 Feb 2022 23:39:41 +0100 Subject: [PATCH] rules and overrides --- .eslintrc.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 4fec5fa13..ae8fcefcf 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -59,7 +59,8 @@ } ], "@typescript-eslint/no-empty-function": "off", - "@typescript-eslint/no-unused-vars": "off" + "@typescript-eslint/no-unused-vars": "off", + "@typescript-eslint/no-var-requires": "off" }, "overrides": [ { @@ -69,7 +70,8 @@ "@typescript-eslint/explicit-function-return-type": ["error"], "@typescript-eslint/ban-ts-comment": "off", "@typescript-eslint/no-empty-function": "error", - "@typescript-eslint/no-unused-vars": "error" + "@typescript-eslint/no-unused-vars": "error", + "@typescript-eslint/no-var-requires": "error" } } ]