Move the shared ESLint plugin/config into the monorepo (#24670)

* Move the shared ESLint plugin/config into the monorepo

* Add peer dependencies to ESLint plugin
Этот коммит содержится в:
Harrison Healey
2023-10-05 14:47:51 -04:00
коммит произвёл GitHub
родитель def164f790
Коммит ff929e4a15
14 изменённых файлов: 1115 добавлений и 183 удалений

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

@@ -1,11 +1,11 @@
{
"root": true,
"extends": [
"plugin:mattermost/react",
"plugin:@mattermost/react",
"plugin:react-hooks/recommended"
],
"plugins": [
"mattermost",
"@mattermost",
"import",
"no-only-tests",
"@typescript-eslint",
@@ -23,6 +23,7 @@
}
},
"rules": {
"@mattermost/use-external-link": 2,
"header/header": [
2,
"line",
@@ -30,7 +31,6 @@
2
],
"no-duplicate-imports": 0,
"mattermost/use-external-link": 2,
"import/no-duplicates": 2,
"max-nested-callbacks": ["error", 10],
"no-unused-expressions": 0,