2020-02-07 19:40:04 -06:00
|
|
|
{
|
|
|
|
"extends": ["@grafana/eslint-config"],
|
2020-08-11 10:52:44 -05:00
|
|
|
"root": true,
|
2021-03-25 06:42:14 -05:00
|
|
|
"plugins": ["no-only-tests"],
|
2021-01-19 04:06:27 -06:00
|
|
|
"rules": {
|
|
|
|
"no-only-tests/no-only-tests": "error",
|
|
|
|
"react/prop-types": "off"
|
|
|
|
},
|
2020-08-11 10:52:44 -05:00
|
|
|
"overrides": [
|
|
|
|
{
|
2021-03-25 06:42:14 -05:00
|
|
|
"files": ["packages/grafana-ui/src/components/uPlot/**/*.{ts,tsx}"],
|
2020-08-11 10:52:44 -05:00
|
|
|
"rules": {
|
|
|
|
"react-hooks/rules-of-hooks": "off",
|
2021-01-19 04:06:27 -06:00
|
|
|
"react-hooks/exhaustive-deps": "off"
|
2020-08-11 10:52:44 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
2020-02-07 19:40:04 -06:00
|
|
|
}
|