From 7cc3d6460267ae2743cc18977eb2d36842917572 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20D=C4=9Bdi=C4=8D?= Date: Tue, 26 Nov 2024 00:01:12 +0100 Subject: [PATCH] Not applying no-use-before-define to functions --- packages/collector/eslint.config.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/collector/eslint.config.js b/packages/collector/eslint.config.js index 78df76578..b28889fb3 100644 --- a/packages/collector/eslint.config.js +++ b/packages/collector/eslint.config.js @@ -74,7 +74,10 @@ export default tseslint.config( "error", "@typescript-eslint/no-unnecessary-qualifier": "error", "@typescript-eslint/no-unused-vars": "error", - "@typescript-eslint/no-use-before-define": "error", + "@typescript-eslint/no-use-before-define": [ + "error", + { functions: false }, + ], "@typescript-eslint/no-useless-empty-export": "error", "@typescript-eslint/parameter-properties": "error", "@typescript-eslint/prefer-enum-initializers": "error",