Files
team/webapp/channels/.eslintrc.json
Harrison HealeyandGitHub b0c4602011 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
2024-03-13 22:07:28 +00:00

46 lines
768 B
JSON

{
"root": true,
"extends": [
"plugin:@mattermost/react"
],
"plugins": [
"formatjs",
"no-only-tests"
],
"settings": {
"import/resolver": "webpack"
},
"rules": {
"react/prop-types": [
2,
{
"ignore": [
"location",
"history",
"component"
]
}
],
"react/no-unknown-property": [
2,
{
"ignore": [
"mask-type"
]
}
],
"react/style-prop-object": [2, {
"allow": ["Timestamp"]
}],
"formatjs/no-multiple-whitespaces": 2
},
"overrides": [
{
"files": ["*.test.*", "src/tests/**"],
"rules": {
"no-only-tests/no-only-tests": ["error", {"focus": ["only", "skip"]}]
}
}
]
}