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