MM-52624/MM-57094 Update ESLint and our ESLint plugin (#26398)

* Update ESLint and plugins

* Move most channels-specific ESLint configuration into ESLint plugin

* Add ESLint to types and client packages

* Add ESLint to components package
Этот коммит содержится в:
Harrison Healey
2024-03-13 18:07:28 -04:00
коммит произвёл GitHub
родитель 67f815e373
Коммит 4d03becdd1
53 изменённых файлов: 1149 добавлений и 989 удалений

Просмотреть файл

@@ -1,6 +1,6 @@
{
"name": "@mattermost/eslint-plugin",
"version": "1.0.0",
"version": "1.1.0",
"description": "ESLint configuration and custom rules used by Mattermost",
"repository": {
"type": "git",
@@ -12,17 +12,23 @@
"homepage": "https://github.com/mattermost/mattermost/tree/master/webapp/platform/eslint-plugin#readme",
"main": "index.js",
"dependencies": {
"@typescript-eslint/eslint-plugin": "^7.1.0",
"@typescript-eslint/parser": "^7.1.0",
"eslint-plugin-header": "^3.1.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.7.1",
"jsx-ast-utils": "^3.3.3"
},
"peerDependencies": {
"@typescript-eslint/eslint-plugin": "^5.57.1",
"eslint-plugin-header": "^3.1.1",
"eslint-plugin-react": "^7.33.2"
"eslint-plugin-react": "^7.34.0",
"eslint-plugin-react-hooks": "^4.6.0"
},
"peerDependenciesMeta": {
"eslint-plugin-react": {
"optional": true
},
"eslint-plugin-react-hooks": {
"optional": true
}
}
}