mirror of
https://github.com/hanzoai/team.git
synced 2026-09-30 01:57:35 +00:00
* Remove everything * Re-add most ESLint plugins and run --fix * Additional fixes * Fix or disable linter warnings caused by require imports * Fix how prop types for SearchResults are defined * More additional fixes * Update deprecated stylistic rule names * Remove deprecated .eslintignore * Update eslint-plugin-react-hooks * Enable react-hooks/error-boundaries * Fix react-hooks/static-components wherever possible * Fix react-hooks/use-memo wherever possible * Disable warnings for new rules and update comment * Update eslint-plugin-no-only-tests * Update eslint dependencies in E2E test packages * Remove now-uneeded patch * Address Coderabbit feedback * Actually fix inverted tooltip logic
47 lines
1.2 KiB
JSON
47 lines
1.2 KiB
JSON
{
|
|
"name": "@mattermost/eslint-plugin",
|
|
"version": "2.0.0",
|
|
"description": "ESLint configuration and custom rules used by Mattermost",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/mattermost/mattermost.git",
|
|
"directory": "webapp/platform/eslint-plugin"
|
|
},
|
|
"author": "Mattermost, Inc.",
|
|
"license": "Apache 2.0",
|
|
"homepage": "https://github.com/mattermost/mattermost/tree/master/webapp/platform/eslint-plugin#readme",
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"import": "./index.js"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@stylistic/eslint-plugin": "^5.10.0",
|
|
"@typescript-eslint/eslint-plugin": "^8.61.0",
|
|
"@typescript-eslint/parser": "^8.61.0",
|
|
"eslint-plugin-headers": "^1.3.4",
|
|
"eslint-plugin-import": "^2.32.0",
|
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
"eslint-plugin-react": "^7.37.5",
|
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
"jsx-ast-utils": "^3.3.3"
|
|
},
|
|
"peerDependencies": {
|
|
"eslint": "^9.0.0"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"eslint-plugin-react": {
|
|
"optional": true
|
|
},
|
|
"eslint-plugin-react-hooks": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"scripts": {
|
|
"check": "eslint . --quiet",
|
|
"fix": "eslint . --quiet --fix",
|
|
"clean": "rm -rf node_modules"
|
|
}
|
|
}
|