mirror of
https://github.com/grafana/grafana.git
synced 2024-11-22 08:56:43 -06:00
c8deaeacce
* Chore: Fix eslint react hook warnings in grafana-ui * Remove unneeded exlcudes * Address Andrej's review
24 lines
468 B
Plaintext
24 lines
468 B
Plaintext
{
|
|
"extends": ["@grafana/eslint-config"],
|
|
"root": true,
|
|
"plugins": [
|
|
"no-only-tests"
|
|
],
|
|
"rules": {
|
|
"no-only-tests/no-only-tests": "error",
|
|
"react/prop-types": "off"
|
|
},
|
|
"overrides": [
|
|
{
|
|
"files": [
|
|
"packages/grafana-ui/src/components/uPlot/**/*.{ts,tsx}",
|
|
"public/app/**/*.{ts,tsx}"
|
|
],
|
|
"rules": {
|
|
"react-hooks/rules-of-hooks": "off",
|
|
"react-hooks/exhaustive-deps": "off"
|
|
}
|
|
}
|
|
]
|
|
}
|