mirror of
https://github.com/grafana/grafana.git
synced 2024-12-26 17:01:09 -06:00
2f3ef69b30
* WIP button styles refactoring * Starting to work * Tweak form disabled color * Emotion performance tests * More benchmarks * added classnames prop * Button class names refactor test * revert to old style generation * Wrapping up * Updates * Updated tests
28 lines
693 B
Plaintext
28 lines
693 B
Plaintext
{
|
|
"extends": ["@grafana/eslint-config"],
|
|
"root": true,
|
|
"plugins": ["no-only-tests", "@emotion"],
|
|
"rules": {
|
|
"no-only-tests/no-only-tests": "error",
|
|
"react/prop-types": "off",
|
|
"@emotion/jsx-import": "error"
|
|
},
|
|
"overrides": [
|
|
{
|
|
"files": ["packages/grafana-ui/src/components/uPlot/**/*.{ts,tsx}"],
|
|
"rules": {
|
|
"react-hooks/rules-of-hooks": "off",
|
|
"react-hooks/exhaustive-deps": "off"
|
|
}
|
|
},
|
|
{
|
|
"files": ["packages/grafana-ui/src/components/ThemeDemos/**/*.{ts,tsx}"],
|
|
"rules": {
|
|
"@emotion/jsx-import": "off",
|
|
"react/jsx-uses-react": "off",
|
|
"react/react-in-jsx-scope": "off"
|
|
}
|
|
}
|
|
]
|
|
}
|