From c656785256792ae62d70505ba3315b9c6712e2ad Mon Sep 17 00:00:00 2001 From: Labhansh Agrawal Date: Tue, 21 Feb 2023 11:37:16 +0530 Subject: [PATCH] lint --- .eslintrc.json | 11 ++++++++++- app/ui/window.ts | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 5aa4cf88..5b092931 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -59,7 +59,16 @@ "bracketSameLine": false } ], - "eslint-comments/no-unused-disable": "error" + "eslint-comments/no-unused-disable": "error", + "react/no-unknown-property":[ + "error", + { + "ignore": [ + "jsx", + "global" + ] + } + ] }, "overrides": [ { diff --git a/app/ui/window.ts b/app/ui/window.ts index d0e22912..6d3dc639 100644 --- a/app/ui/window.ts +++ b/app/ui/window.ts @@ -1,4 +1,4 @@ -import {app, BrowserWindow, shell, Menu, BrowserWindowConstructorOptions, Event} from 'electron'; +import {app, BrowserWindow, shell, Menu, BrowserWindowConstructorOptions} from 'electron'; import {isAbsolute, normalize, sep} from 'path'; import {URL, fileURLToPath} from 'url'; import {v4 as uuidv4} from 'uuid';