aboutsummaryrefslogtreecommitdiffstats
path: root/src/webview/recipe.ts
diff options
context:
space:
mode:
authorLibravatar MCMXC <16797721+mcmxcdev@users.noreply.github.com>2023-07-30 10:55:59 -0600
committerLibravatar Vijay Aravamudhan <vraravam@users.noreply.github.com>2023-07-30 23:57:51 +0000
commit080d8b05297f3f5afcf33354a40a5201697b1df5 (patch)
tree35180bd3cb9fcd137feca3fe169032cbbb469463 /src/webview/recipe.ts
parentrefactor: various improvements (#1296) (diff)
downloadferdium-app-080d8b05297f3f5afcf33354a40a5201697b1df5.tar.gz
ferdium-app-080d8b05297f3f5afcf33354a40a5201697b1df5.tar.zst
ferdium-app-080d8b05297f3f5afcf33354a40a5201697b1df5.zip
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
Diffstat (limited to 'src/webview/recipe.ts')
-rw-r--r--src/webview/recipe.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/webview/recipe.ts b/src/webview/recipe.ts
index 76615d234..ee7fa26d2 100644
--- a/src/webview/recipe.ts
+++ b/src/webview/recipe.ts
@@ -3,7 +3,7 @@
3 3
4import { noop, debounce } from 'lodash'; 4import { noop, debounce } from 'lodash';
5import { contextBridge, ipcRenderer } from 'electron'; 5import { contextBridge, ipcRenderer } from 'electron';
6import { join } from 'path'; 6import { join } from 'node:path';
7import { autorun, computed, makeObservable, observable } from 'mobx'; 7import { autorun, computed, makeObservable, observable } from 'mobx';
8import { pathExistsSync, readFileSync } from 'fs-extra'; 8import { pathExistsSync, readFileSync } from 'fs-extra';
9import { 9import {
@@ -11,7 +11,7 @@ import {
11 enable as enableDarkMode, 11 enable as enableDarkMode,
12} from 'darkreader'; 12} from 'darkreader';
13 13
14import { existsSync } from 'fs'; 14import { existsSync } from 'node:fs';
15import ignoreList from './darkmode/ignore'; 15import ignoreList from './darkmode/ignore';
16import customDarkModeCss from './darkmode/custom'; 16import customDarkModeCss from './darkmode/custom';
17 17