Lint fixes
This commit is contained in:
parent
1503053496
commit
2e01c9fb87
3 changed files with 7 additions and 5 deletions
6
main.js
6
main.js
|
@ -413,10 +413,10 @@ async function createWindow() {
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (mainWindow.isFullScreen()) {
|
if (mainWindow.isFullScreen()) {
|
||||||
mainWindow.once('leave-full-screen', () => mainWindow.hide())
|
mainWindow.once('leave-full-screen', () => mainWindow.hide());
|
||||||
mainWindow.setFullScreen(false)
|
mainWindow.setFullScreen(false);
|
||||||
} else {
|
} else {
|
||||||
mainWindow.hide()
|
mainWindow.hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
// On Mac, or on other platforms when the tray icon is in use, the window
|
// On Mac, or on other platforms when the tray icon is in use, the window
|
||||||
|
|
|
@ -43,7 +43,9 @@ export type Props = Pick<
|
||||||
| 'onEditorSizeChange'
|
| 'onEditorSizeChange'
|
||||||
| 'onEditorStateChange'
|
| 'onEditorStateChange'
|
||||||
| 'onTextTooLong'
|
| 'onTextTooLong'
|
||||||
| 'startingText' | 'clearQuotedMessage' | 'getQuotedMessage'
|
| 'startingText'
|
||||||
|
| 'clearQuotedMessage'
|
||||||
|
| 'getQuotedMessage'
|
||||||
> &
|
> &
|
||||||
Pick<
|
Pick<
|
||||||
EmojiButtonProps,
|
EmojiButtonProps,
|
||||||
|
|
|
@ -11435,7 +11435,7 @@
|
||||||
"rule": "DOM-innerHTML",
|
"rule": "DOM-innerHTML",
|
||||||
"path": "ts/components/CompositionArea.tsx",
|
"path": "ts/components/CompositionArea.tsx",
|
||||||
"line": " el.innerHTML = '';",
|
"line": " el.innerHTML = '';",
|
||||||
"lineNumber": 71,
|
"lineNumber": 73,
|
||||||
"reasonCategory": "usageTrusted",
|
"reasonCategory": "usageTrusted",
|
||||||
"updated": "2019-12-16T14:36:25.614ZZ",
|
"updated": "2019-12-16T14:36:25.614ZZ",
|
||||||
"reasonDetail": "Our code, no user input, only clearing out the dom"
|
"reasonDetail": "Our code, no user input, only clearing out the dom"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue