mirror of
https://github.com/grafana/grafana.git
synced 2024-12-28 18:01:40 -06:00
25 lines
516 B
Plaintext
25 lines
516 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/**/*/!(*.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"
|
|
}
|
|
}
|
|
]
|
|
}
|