eslint: Enable object-shorthand avoidExplicitReturnArrows option.

This is equivalent in the absence of ‘this’ (which ESLint knows to
check for).

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2022-11-17 14:33:43 -08:00
committed by Tim Abbott
parent 88873138ac
commit eb2c822d3f
67 changed files with 177 additions and 174 deletions

View File

@@ -153,7 +153,7 @@ export function launch(conf) {
overlays.open_modal("dialog_widget_modal", {
autoremove: true,
on_show: () => {
on_show() {
if (conf.focus_submit_on_open) {
$submit_button.trigger("focus");
}