mirror of
https://github.com/grafana/grafana.git
synced 2024-12-27 09:21:35 -06:00
73518bf1e7
* Chore: Enable eslint react/no-render-return-value rule Eanble the rule and remove the unused render return part of: #29201 * Chore: Enable eslint react/no-children-prop rule Not linting issues after turning on this. No other file changes requried part of: #29201 * Chore: Enable eslint react/no-unknown-property rule Correct enable-background to enableBackground part of: #29201 * Chore: Enable eslint react/no-unescaped-entities rule Replaced " with " replaced ' with ' part of: #29201
23 lines
507 B
Plaintext
23 lines
507 B
Plaintext
{
|
|
"extends": ["@grafana/eslint-config"],
|
|
"root": true,
|
|
"plugins": [
|
|
"no-only-tests"
|
|
],
|
|
"overrides": [
|
|
{
|
|
"files": [
|
|
"packages/grafana-ui/**/*/!(*.story).{ts,tsx}",
|
|
"packages/jaeger-ui-components/**/*.{ts,tsx,js}",
|
|
"public/app/**/*.{ts,tsx}"
|
|
],
|
|
"rules": {
|
|
"react-hooks/rules-of-hooks": "off",
|
|
"react-hooks/exhaustive-deps": "off",
|
|
"react/prop-types": "off",
|
|
"no-only-tests/no-only-tests": "error"
|
|
}
|
|
}
|
|
]
|
|
}
|