Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
eslint: Loosen no-use-before-define for TS like we do for JS.
Anders Kaseorg4c5042e736c9
diff --git a/.eslintrc.json b/.eslintrc.jsonindex 9a098ddae50..c3cabcdac53 100644--- a/.eslintrc.json+++ b/.eslintrc.json@@ -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",