mirror of https://github.com/grafana/grafana.git
Chore: Lint all files for no-only-tests (#30364)
This commit is contained in:
parent
1cecc7f9b5
commit
202f88c610
|
@ -5,3 +5,4 @@ vendor
|
||||||
devenv
|
devenv
|
||||||
data
|
data
|
||||||
dist
|
dist
|
||||||
|
e2e/tmp
|
||||||
|
|
|
@ -4,6 +4,10 @@
|
||||||
"plugins": [
|
"plugins": [
|
||||||
"no-only-tests"
|
"no-only-tests"
|
||||||
],
|
],
|
||||||
|
"rules": {
|
||||||
|
"no-only-tests/no-only-tests": "error",
|
||||||
|
"react/prop-types": "off"
|
||||||
|
},
|
||||||
"overrides": [
|
"overrides": [
|
||||||
{
|
{
|
||||||
"files": [
|
"files": [
|
||||||
|
@ -13,9 +17,7 @@
|
||||||
],
|
],
|
||||||
"rules": {
|
"rules": {
|
||||||
"react-hooks/rules-of-hooks": "off",
|
"react-hooks/rules-of-hooks": "off",
|
||||||
"react-hooks/exhaustive-deps": "off",
|
"react-hooks/exhaustive-deps": "off"
|
||||||
"react/prop-types": "off",
|
|
||||||
"no-only-tests/no-only-tests": "error"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue