diff --git a/.eslintrc.js b/.eslintrc.js index 8d5e6f4..ce415a1 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -41,6 +41,12 @@ module.exports = { ], "@typescript-eslint/no-explicit-any": "off", "@typescript-eslint/no-parameter-properties": "off", + "@typescript-eslint/no-shadow": [ + "error", + { + hoist: "all" + } + ], "@typescript-eslint/no-unused-expressions": "error", "@typescript-eslint/no-use-before-define": ["error", { functions: false }], "@typescript-eslint/prefer-for-of": "error", @@ -67,12 +73,7 @@ module.exports = { "no-invalid-this": "off", "no-multiple-empty-lines": "off", "no-new-wrappers": "error", - "no-shadow": [ - "error", - { - hoist: "all" - } - ], + "no-shadow": "off", "no-throw-literal": "error", "no-trailing-spaces": "off", "no-undef-init": "error",