xo: Enable object-curly-spacing.

Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
Anders Kaseorg
2020-04-25 17:23:25 -07:00
committed by Anders Kaseorg
parent e49a880ed6
commit ba191c3699
42 changed files with 115 additions and 116 deletions

View File

@@ -1,4 +1,4 @@
import { remote } from 'electron';
import {remote} from 'electron';
import fs from 'fs';
import path from 'path';
@@ -8,7 +8,7 @@ import * as ProxyUtil from './proxy-util';
import * as CertificateUtil from './certificate-util';
import * as SystemUtil from './system-util';
const { app } = remote;
const {app} = remote;
const logger = new Logger({
file: 'request-util.log',
@@ -56,7 +56,7 @@ export function requestOptions(domain: string, ignoreCerts: boolean): RequestUti
ca: certificateLocation ? certificateLocation : '',
proxy: proxyEnabled ? ProxyUtil.getProxy(domain) : '',
ecdhCurve: 'auto',
headers: { 'User-Agent': SystemUtil.getUserAgent() },
headers: {'User-Agent': SystemUtil.getUserAgent()},
rejectUnauthorized: !ignoreCerts
};
}