diff --git a/.eslintrc.js b/.eslintrc.js index d7048a3046..18621ae5d5 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -104,7 +104,7 @@ module.exports = { "error", {args: "all", argsIgnorePattern: "^_", ignoreRestSiblings: true}, ], - "no-use-before-define": ["error", {functions: false}], + "no-use-before-define": ["error", {functions: false, variables: false}], "no-useless-concat": "error", "no-useless-constructor": "error", "no-var": "error", @@ -198,7 +198,10 @@ module.exports = { "error", {args: "all", argsIgnorePattern: "^_", ignoreRestSiblings: true}, ], - "@typescript-eslint/no-use-before-define": ["error", {functions: false}], + "@typescript-eslint/no-use-before-define": [ + "error", + {functions: false, variables: false}, + ], "@typescript-eslint/parameter-properties": "error", "@typescript-eslint/promise-function-async": "error", "@typescript-eslint/restrict-plus-operands": ["error", {}], @@ -249,7 +252,10 @@ module.exports = { "error", {args: "all", argsIgnorePattern: "^_", ignoreRestSiblings: true}, ], - "@typescript-eslint/no-use-before-define": ["error", {functions: false}], + "@typescript-eslint/no-use-before-define": [ + "error", + {functions: false, variables: false}, + ], "@typescript-eslint/parameter-properties": "error", "@typescript-eslint/promise-function-async": "error", "@typescript-eslint/restrict-plus-operands": ["error", {}],