Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

eslint: Disable no-use-before-define for functions.

Priyank Patela691f0c5273a
diff --git a/.eslintrc.json b/.eslintrc.json
index 0e6b02aa1ae..fae5297d58b 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -77,7 +77,7 @@
"varsIgnorePattern": "print_elapsed_time|check_duplicate_ids"
}
],
- "no-use-before-define": "error",
+ "no-use-before-define": ["error", {"functions": false}],
"no-useless-constructor": "error",
"no-var": "error",
"object-shorthand": "error",