From 412328da883519528052ce77398db7126f414072 Mon Sep 17 00:00:00 2001 From: vbasiuk Date: Tue, 18 Jul 2023 12:59:18 +0300 Subject: [PATCH] disable errors for tests files --- .eslintrc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.eslintrc b/.eslintrc index b983ac1d..28952dbe 100644 --- a/.eslintrc +++ b/.eslintrc @@ -7,5 +7,15 @@ "@typescript-eslint/no-floating-promises": ["error"], "@typescript-eslint/no-non-null-assertion": "off" }, + "overrides": [ + { + "files": ["tests/**/*.js"], + "rules": { + "no-undef": "off", + "@typescript-eslint/no-var-requires": "off", + "@typescript-eslint/no-floating-promises": "off" + } + } + ], "ignorePatterns": ["dist", "node_modules"] } \ No newline at end of file