Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
eslint: Fix unicorn/prefer-array-flat.
Anders Kaseorga284299b85a2
diff --git a/.eslintrc.json b/.eslintrc.jsonindex 28accdd48d3..94ac048e2df 100644--- a/.eslintrc.json+++ b/.eslintrc.json@@ -99,7 +99,6 @@"unicorn/no-useless-undefined": "off","unicorn/number-literal-case": "off","unicorn/numeric-separators-style": "off",- "unicorn/prefer-array-flat": "off","unicorn/prefer-module": "off","unicorn/prefer-node-protocol": "off","unicorn/prefer-spread": "off",diff --git a/static/js/typing_data.js b/static/js/typing_data.jsindex d909a299dd5..a2f1ff0b7a5 100644--- a/static/js/typing_data.js+++ b/static/js/typing_data.js@@ -54,7 +54,7 @@ export function get_group_typists(group) {}export function get_all_typists() {- let typists = [].concat(...Array.from(typist_dct.values()));+ let typists = Array.from(typist_dct.values()).flat();typists = util.sorted_ids(typists);typists = _.sortedUniq(typists);return muting.filter_muted_user_ids(typists);