From 080d8b05297f3f5afcf33354a40a5201697b1df5 Mon Sep 17 00:00:00 2001 From: MCMXC <16797721+mcmxcdev@users.noreply.github.com> Date: Sun, 30 Jul 2023 10:55:59 -0600 Subject: refactor: more lint improvements - set parserOptions.ecmaVersion to latest and env to es2024 in eslint config - install missing types libraries - install eslint-plugin-sonar - enable eslint-plugin-sonar recommended rules and declare jsx-runtime for react in eslint config - clean up disabled lint rules which don't inflict problems anymore - disable various lint issues and fix others --- src/electron/exception.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'src/electron/exception.ts') diff --git a/src/electron/exception.ts b/src/electron/exception.ts index ada98d17b..a445a6475 100644 --- a/src/electron/exception.ts +++ b/src/electron/exception.ts @@ -1,3 +1,4 @@ +// eslint-disable-next-line unicorn/no-empty-file process.on('uncaughtException', err => { // handle the error safely console.error(err); -- cgit v1.2.3-70-g09d2