From 1126072371f4dba9fe67285f917a2ae02e8a771f Mon Sep 17 00:00:00 2001 From: Mylloon Date: Mon, 29 Aug 2022 18:37:49 +0200 Subject: [PATCH] fix eslint shadow with typescript --- .eslintrc.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.eslintrc.json b/.eslintrc.json index e4ec140..10787ca 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -31,7 +31,8 @@ "no-lonely-if": "error", "no-multi-spaces": "error", "no-multiple-empty-lines": ["error", { "max": 2, "maxEOF": 1, "maxBOF": 0 }], - "no-shadow": ["error", { "allow": ["err", "resolve", "reject"] }], + "no-shadow": "off", + "@typescript-eslint/no-shadow": ["error", { "allow": ["err", "resolve", "reject"] }], "no-trailing-spaces": ["error"], "no-var": "error", "object-curly-spacing": ["error", "always"],