diff options
author | MCMXC <16797721+mcmxcdev@users.noreply.github.com> | 2023-07-30 10:55:59 -0600 |
---|---|---|
committer | Vijay Aravamudhan <vraravam@users.noreply.github.com> | 2023-07-30 23:57:51 +0000 |
commit | 080d8b05297f3f5afcf33354a40a5201697b1df5 (patch) | |
tree | 35180bd3cb9fcd137feca3fe169032cbbb469463 /src/lib/Menu.ts | |
parent | refactor: various improvements (#1296) (diff) | |
download | ferdium-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/lib/Menu.ts')
-rw-r--r-- | src/lib/Menu.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Menu.ts b/src/lib/Menu.ts index f587f8df9..08ad9dabe 100644 --- a/src/lib/Menu.ts +++ b/src/lib/Menu.ts | |||
@@ -12,7 +12,7 @@ import { defineMessages, IntlShape } from 'react-intl'; | |||
12 | import osName from 'os-name'; | 12 | import osName from 'os-name'; |
13 | import { fromJS } from 'immutable'; | 13 | import { fromJS } from 'immutable'; |
14 | import semver from 'semver'; | 14 | import semver from 'semver'; |
15 | import os from 'os'; | 15 | import os from 'node:os'; |
16 | import { | 16 | import { |
17 | isWindows, | 17 | isWindows, |
18 | cmdOrCtrlShortcutKey, | 18 | cmdOrCtrlShortcutKey, |