eslint: Loosen no-use-before-define for TS like we do for JS.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2023-03-25 09:08:49 -07:00 committed by Anders Kaseorg
parent 0bcf03ea64
commit 4c5042e736
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/no-unsafe-return": "off",
"@typescript-eslint/no-unused-vars": ["error", {"ignoreRestSiblings": true}],
"@typescript-eslint/no-use-before-define": "error",
"@typescript-eslint/no-use-before-define": ["error", {"functions": false}],
"@typescript-eslint/no-useless-constructor": "error",
"@typescript-eslint/prefer-includes": "error",
"@typescript-eslint/prefer-string-starts-ends-with": "error",