mirror of https://github.com/zulip/zulip.git
eslint: Fix unicorn/prefer-array-flat.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
42abc1b635
commit
a284299b85
|
@ -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",
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue