[MM-52696] Upgrade and clean up Desktop App dev dependencies (#2970)

* Upgrade to ESLint v8

* Upgrade TypeScript, api-types, react-intl

* Remove unnecessary dependencies

* Update to React 17.0.2

* npm audit fixes, remove storybook

* Lock some packages

* Remove nan patch

* Remove some deprecated dependencies

* Fix lint/type/tests

* Merge'd

* Fix bad use of spawn

* Fix notarize

* Fix afterpack, switch to tsc es2020

* Fix api types

* Use @mattermost/eslint-plugin
This commit is contained in:
Devin Binnie
2024-03-07 15:55:33 -05:00
committed by GitHub
parent 12d59cd81c
commit 9b36c25e4e
198 changed files with 4997 additions and 17374 deletions

View File

@@ -1,10 +1,12 @@
{
"root": true,
"extends": [
"./.eslintrc-webapp.json"
"plugin:@mattermost/react"
],
"plugins": [
"formatjs",
"no-only-tests"
],
"parserOptions": {
"ecmaVersion": 2017
},
"settings": {
"import/resolver": {
"webpack": {
@@ -27,7 +29,8 @@
"react/no-find-dom-node": 2,
"multiline-ternary": 0,
"max-lines": ["warn", 650],
"no-underscore-dangle": ["warn"]
"no-underscore-dangle": ["warn"],
"@mattermost/use-external-link": 0
},
"overrides": [
{