mirror of
https://github.com/grafana/grafana.git
synced 2024-11-29 20:24:18 -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"
|
|
}
|
|
}
|
|
]
|
|
}
|