From 0722603cfee659abab80e9e7f30a8112702ccc12 Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Sun, 12 Dec 2021 08:20:58 +0800 Subject: [PATCH] fix: `no-use-before-define` for functions --- packages/typescript/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/typescript/index.js b/packages/typescript/index.js index 1159768..50eeb1f 100644 --- a/packages/typescript/index.js +++ b/packages/typescript/index.js @@ -25,7 +25,7 @@ module.exports = { 'no-redeclare': 'off', '@typescript-eslint/no-redeclare': 'error', 'no-use-before-define': 'off', - '@typescript-eslint/no-use-before-define': ['error'], + '@typescript-eslint/no-use-before-define': ['error', { functions: false, classes: false, variables: true }], // off '@typescript-eslint/camelcase': 'off',