From d614a7ea751626475861b13a416b150838c6cacf Mon Sep 17 00:00:00 2001 From: niklhut <49069026+niklhut@users.noreply.github.com> Date: Fri, 1 Dec 2023 20:48:17 +0100 Subject: [PATCH] Improve eslint --- .eslintrc.json | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 9b95074..33e295e 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -16,6 +16,7 @@ "@typescript-eslint", "unused-imports" ], + "ignorePatterns": ["__mocks__", "test"], "rules": { "object-curly-spacing": [ "warn", @@ -48,10 +49,7 @@ "no-unused-vars": "off", "@typescript-eslint/no-unused-vars": "off", "unused-imports/no-unused-imports": "error", - "unused-imports/no-unused-vars": [ - "warn", - { "vars": "all", "varsIgnorePattern": "^_", "args": "after-used", "argsIgnorePattern": "^_" } - ], + "unused-imports/no-unused-vars": "off", "prefer-const": "warn", "@typescript-eslint/no-empty-interface": [ "warn",