diff options
Diffstat (limited to 'gui/src')
| -rw-r--r-- | gui/src/main/account-data-cache.ts | 1 | ||||
| -rw-r--r-- | gui/src/main/index.ts | 1 | ||||
| -rw-r--r-- | gui/src/renderer/.eslintrc.js | 5 |
3 files changed, 5 insertions, 2 deletions
diff --git a/gui/src/main/account-data-cache.ts b/gui/src/main/account-data-cache.ts index 24f9c0453a..7ef103fe92 100644 --- a/gui/src/main/account-data-cache.ts +++ b/gui/src/main/account-data-cache.ts @@ -101,7 +101,6 @@ export default class AccountDataCache { private scheduleRetry(accountToken: AccountToken) { this.fetchAttempt += 1; - // tslint:disable-next-line const delay = Math.min(2048, 1 << (this.fetchAttempt + 2)) * 1000; log.warn(`Failed to fetch account data. Retrying in ${delay} ms`); diff --git a/gui/src/main/index.ts b/gui/src/main/index.ts index 32620c3574..cdca8322d7 100644 --- a/gui/src/main/index.ts +++ b/gui/src/main/index.ts @@ -1403,7 +1403,6 @@ class ApplicationMain { private installMacOsMenubarAppWindowHandlers(tray: Tray, windowController: WindowController) { const { NSEventMonitor, NSEventMask } = require('nseventmonitor'); const macEventMonitor = new NSEventMonitor(); - // tslint:disable-next-line const eventMask = NSEventMask.leftMouseDown | NSEventMask.rightMouseDown; const window = windowController.window; diff --git a/gui/src/renderer/.eslintrc.js b/gui/src/renderer/.eslintrc.js new file mode 100644 index 0000000000..c38aa97590 --- /dev/null +++ b/gui/src/renderer/.eslintrc.js @@ -0,0 +1,5 @@ +module.exports = { + env: { + browser: true, + }, +}; |
