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