mirror of
https://github.com/zulip/zulip-desktop.git
synced 2025-11-13 10:26:15 +00:00
xo: Upgrade xo to 0.28.
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
@@ -461,7 +461,7 @@ class ServerManagerView {
|
||||
$altIcon.classList.add('server-icon');
|
||||
$altIcon.classList.add('alt-icon');
|
||||
|
||||
$parent.removeChild($img);
|
||||
$img.remove();
|
||||
$parent.append($altIcon);
|
||||
|
||||
this.addContextMenu($altIcon as HTMLImageElement, index);
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
/* eslint-disable unicorn/prevent-abbreviations */
|
||||
|
||||
// This util function returns the page params if they're present else returns null
|
||||
export function isPageParams(): null | object {
|
||||
let webpageParams = null;
|
||||
|
||||
853
package-lock.json
generated
853
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -208,7 +208,7 @@
|
||||
"tap-colorize": "^1.2.0",
|
||||
"tape": "^5.0.0-next.5",
|
||||
"typescript": "^3.8.3",
|
||||
"xo": "^0.27.2"
|
||||
"xo": "^0.28.0"
|
||||
},
|
||||
"xo": {
|
||||
"rules": {
|
||||
@@ -234,7 +234,8 @@
|
||||
"object-curly-spacing": "off",
|
||||
"padding-line-between-statements": "off",
|
||||
"strict": "error",
|
||||
"unicorn/catch-error-name": "off"
|
||||
"unicorn/catch-error-name": "off",
|
||||
"unicorn/string-content": "off"
|
||||
},
|
||||
"envs": [
|
||||
"node",
|
||||
|
||||
1
typings.d.ts
vendored
1
typings.d.ts
vendored
@@ -8,6 +8,7 @@ interface PageParamsObject {
|
||||
default_language: string;
|
||||
external_authentication_methods: any;
|
||||
}
|
||||
// eslint-disable-next-line unicorn/prevent-abbreviations
|
||||
declare let page_params: PageParamsObject;
|
||||
|
||||
// This is mostly zulip side of code we access from window
|
||||
|
||||
Reference in New Issue
Block a user