Skip to content
This repository was archived by the owner on Jun 5, 2019. It is now read-only.

Commit 082acdd

Browse files
committed
Lints for great justice.
1 parent d3bae6c commit 082acdd

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

src/main/create-window.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export function createWindow(appPath: string) {
1818
useContentSize: true,
1919
titleBarStyle: 'hidden'
2020
})
21-
21+
2222
// load entry html page in the renderer.
2323
window.loadURL(
2424
format({
@@ -34,6 +34,5 @@ export function createWindow(appPath: string) {
3434
window.focus()
3535
})
3636

37-
3837
return window
3938
}
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
export const theme = {
2-
}
1+
export const theme = {}

src/renderer/platform/utils/keyboard/keyboard.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@ Mousetrap.prototype.stopCallback = () => false
1515
* @param callback The function to fire.
1616
* @param action Optional keyboard event to further constraint.
1717
*/
18-
export function bindKey(keys: string | string[], callback: KeyboardCallback, action?: KeyboardAction) {
18+
export function bindKey(
19+
keys: string | string[],
20+
callback: KeyboardCallback,
21+
action?: KeyboardAction
22+
) {
1923
Mousetrap.bind(keys, callback, action)
2024
}
2125

0 commit comments

Comments
 (0)