[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:
@@ -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": [
|
||||
{
|
||||
|
Reference in New Issue
Block a user