eslint: Enable comma-dangle for functions.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2020-07-01 17:16:03 -07:00
committed by Tim Abbott
parent a79322bc94
commit e014ea966a
97 changed files with 319 additions and 317 deletions

View File

@@ -126,7 +126,7 @@ exports.update = (replace_content, find, new_dom, old_dom) => {
const same_structure = exports.eq_array(
new_opts.keyed_nodes,
old_opts.keyed_nodes,
(a, b) => a.key === b.key
(a, b) => a.key === b.key,
);
if (!same_structure) {
@@ -161,7 +161,7 @@ exports.update = (replace_content, find, new_dom, old_dom) => {
exports.update_attrs(
find(),
new_opts.attrs,
old_opts.attrs
old_opts.attrs,
);
};