mirror of
https://github.com/grafana/grafana.git
synced 2024-12-27 09:21:35 -06:00
dc93749287
* Grunt: Removes grunt dependency and replaces some of it usage with alternatives * Removed precommit toolkit task * Fixed toolkit import * Some cleanup of unused / not working stuff in build.go * Removed sass errors
30 lines
801 B
Plaintext
30 lines
801 B
Plaintext
{
|
|
"extends": ["@grafana/eslint-config"],
|
|
"root": true,
|
|
"plugins": [
|
|
"no-only-tests"
|
|
],
|
|
"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",
|
|
"react/prop-types": "off",
|
|
"react/no-unescaped-entities": "off",
|
|
"react/display-name": "off",
|
|
"react/no-deprecated": "off",
|
|
"react/no-unknown-property": "off",
|
|
"react/no-children-prop": "off",
|
|
"react/no-find-dom-node": "off",
|
|
"react/no-render-return-value": "off",
|
|
"no-only-tests/no-only-tests": "error"
|
|
}
|
|
}
|
|
]
|
|
}
|