commit | caeea1b0bdf0466dec8f35c3bf2a8e3ec8ae8409 | [log] [tgz] |
---|---|---|
author | Chris Poucet <poucet@google.com> | Thu Aug 19 22:12:56 2021 +0000 |
committer | Chris Poucet <poucet@google.com> | Thu Aug 19 22:12:56 2021 +0000 |
tree | c3f120c30b1e1edac2ddb15a9c26a9a1c2ac2c00 | |
parent | 2a9b4f82cb2cf823c3980782991f3af67cc008d9 [diff] |
Fix all hints discovered by the new linter `npm run eslintfix` Change-Id: Ic07aede1b95e7dd53bbd05c062e2afcef5508c10
diff --git a/polygerrit-ui/app/elements/change-list/gr-change-list-view/gr-change-list-view.ts b/polygerrit-ui/app/elements/change-list/gr-change-list-view/gr-change-list-view.ts index f67b65a..84bc1e2 100644 --- a/polygerrit-ui/app/elements/change-list/gr-change-list-view/gr-change-list-view.ts +++ b/polygerrit-ui/app/elements/change-list/gr-change-list-view/gr-change-list-view.ts
@@ -48,7 +48,8 @@ const USER_QUERY_PATTERN = /^owner:\s?("[^"]+"|[^ ]+)$/; -const REPO_QUERY_PATTERN = /^project:\s?("[^"]+"|[^ ]+)(\sstatus\s?:(open|"open"))?$/; +const REPO_QUERY_PATTERN = + /^project:\s?("[^"]+"|[^ ]+)(\sstatus\s?:(open|"open"))?$/; const LIMIT_OPERATOR_PATTERN = /\blimit:(\d+)/i;
diff --git a/polygerrit-ui/app/elements/change-list/gr-change-list/gr-change-list.ts b/polygerrit-ui/app/elements/change-list/gr-change-list/gr-change-list.ts index 4277dac..133dfa0 100644 --- a/polygerrit-ui/app/elements/change-list/gr-change-list/gr-change-list.ts +++ b/polygerrit-ui/app/elements/change-list/gr-change-list/gr-change-list.ts
@@ -162,7 +162,7 @@ this.cursor.scrollMode = ScrollMode.KEEP_VISIBLE; this.cursor.focusOnMove = true; this.addEventListener('keydown', e => - this._scopedKeydownHandler((e as unknown) as CustomKeyboardEvent) + this._scopedKeydownHandler(e as unknown as CustomKeyboardEvent) ); } @@ -180,9 +180,8 @@ getPluginLoader() .awaitPluginsLoaded() .then(() => { - this._dynamicHeaderEndpoints = getPluginEndpoints().getDynamicEndpoints( - 'change-list-header' - ); + this._dynamicHeaderEndpoints = + getPluginEndpoints().getDynamicEndpoints('change-list-header'); }); }