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 /package.json | |
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 'package.json')
-rw-r--r-- | package.json | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/package.json b/package.json index e3e4a4f44..7bbc85a3d 100644 --- a/package.json +++ b/package.json | |||
@@ -135,10 +135,12 @@ | |||
135 | "@electron/notarize": "1.2.3", | 135 | "@electron/notarize": "1.2.3", |
136 | "@formatjs/cli": "6.1.3", | 136 | "@formatjs/cli": "6.1.3", |
137 | "@jest/types": "29.6.1", | 137 | "@jest/types": "29.6.1", |
138 | "@types/auto-launch": "5.0.2", | ||
138 | "@types/color": "3.0.3", | 139 | "@types/color": "3.0.3", |
139 | "@types/fs-extra": "11.0.1", | 140 | "@types/fs-extra": "11.0.1", |
140 | "@types/jest": "29.5.3", | 141 | "@types/jest": "29.5.3", |
141 | "@types/lodash": "4.14.195", | 142 | "@types/lodash": "4.14.195", |
143 | "@types/minimist": "1.2.2", | ||
142 | "@types/ms": "0.7.31", | 144 | "@types/ms": "0.7.31", |
143 | "@types/node": "18.15.3", | 145 | "@types/node": "18.15.3", |
144 | "@types/prop-types": "15.7.5", | 146 | "@types/prop-types": "15.7.5", |
@@ -174,6 +176,7 @@ | |||
174 | "eslint-plugin-prettier": "5.0.0", | 176 | "eslint-plugin-prettier": "5.0.0", |
175 | "eslint-plugin-react": "7.33.0", | 177 | "eslint-plugin-react": "7.33.0", |
176 | "eslint-plugin-react-hooks": "4.6.0", | 178 | "eslint-plugin-react-hooks": "4.6.0", |
179 | "eslint-plugin-sonar": "0.12.0", | ||
177 | "eslint-plugin-unicorn": "48.0.0", | 180 | "eslint-plugin-unicorn": "48.0.0", |
178 | "gulp-livereload": "4.0.2", | 181 | "gulp-livereload": "4.0.2", |
179 | "husky": "8.0.3", | 182 | "husky": "8.0.3", |