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/helpers/asar-helpers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/helpers/asar-helpers.ts') diff --git a/src/helpers/asar-helpers.ts b/src/helpers/asar-helpers.ts index 9d975c193..77dd50bb1 100644 --- a/src/helpers/asar-helpers.ts +++ b/src/helpers/asar-helpers.ts @@ -1,4 +1,4 @@ -import { join } from 'path'; +import { join } from 'node:path'; export function asarPath(dir: string = '') { return dir.replace('app.asar', 'app.asar.unpacked'); -- cgit v1.2.3-54-g00ecf