diff options
author | Markus Hatvan <markus_hatvan@aon.at> | 2021-10-15 09:48:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-15 09:48:06 +0200 |
commit | 14d2364fc69e0222133115c55a36286986006098 (patch) | |
tree | 9e9b3c41ef742bbe87ca1632b292c67043051957 /src/webview/contextMenuBuilder.ts | |
parent | 5.6.3-nightly.34 [skip ci] (diff) | |
download | ferdium-app-14d2364fc69e0222133115c55a36286986006098.tar.gz ferdium-app-14d2364fc69e0222133115c55a36286986006098.tar.zst ferdium-app-14d2364fc69e0222133115c55a36286986006098.zip |
chore: update eslint setup (#2074)
Diffstat (limited to 'src/webview/contextMenuBuilder.ts')
-rw-r--r-- | src/webview/contextMenuBuilder.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/webview/contextMenuBuilder.ts b/src/webview/contextMenuBuilder.ts index fda5fa8b8..7b8c6cb2d 100644 --- a/src/webview/contextMenuBuilder.ts +++ b/src/webview/contextMenuBuilder.ts | |||
@@ -6,7 +6,7 @@ | |||
6 | * | 6 | * |
7 | * Source: https://github.com/electron-userland/electron-spellchecker/blob/master/src/context-menu-builder.js | 7 | * Source: https://github.com/electron-userland/electron-spellchecker/blob/master/src/context-menu-builder.js |
8 | */ | 8 | */ |
9 | // eslint-disable-next-line no-unused-vars | 9 | |
10 | import { clipboard, ipcRenderer, nativeImage, WebContents } from 'electron'; | 10 | import { clipboard, ipcRenderer, nativeImage, WebContents } from 'electron'; |
11 | import { Menu, MenuItem } from '@electron/remote'; | 11 | import { Menu, MenuItem } from '@electron/remote'; |
12 | import { cmdOrCtrlShortcutKey, isMac } from '../environment'; | 12 | import { cmdOrCtrlShortcutKey, isMac } from '../environment'; |
@@ -311,7 +311,7 @@ export class ContextMenuBuilder { | |||
311 | menu.append( | 311 | menu.append( |
312 | new MenuItem({ | 312 | new MenuItem({ |
313 | label: suggestion, | 313 | label: suggestion, |
314 | // eslint-disable-next-line no-loop-func | 314 | |
315 | click: () => webContents.replaceMisspelling(suggestion), | 315 | click: () => webContents.replaceMisspelling(suggestion), |
316 | }), | 316 | }), |
317 | ); | 317 | ); |