mirror of
https://github.com/grafana/grafana.git
synced 2024-11-23 01:16:31 -06:00
a3ef463499
* remove e2e package code and any code referencing it * update code owners * remove more references to e2e package * remove unrelated file
28 lines
642 B
Plaintext
28 lines
642 B
Plaintext
{
|
|
"rules": {
|
|
"@emotion/syntax-preference": [2, "object"],
|
|
"no-restricted-imports": [
|
|
"error",
|
|
{
|
|
"patterns": ["@grafana/runtime", "@grafana/data/*", "@grafana/ui", "@grafana/e2e-selectors/*"],
|
|
"paths": [
|
|
{
|
|
"name": "react-i18next",
|
|
"importNames": ["Trans", "t"],
|
|
"message": "Please import from grafana-ui/src/utils/i18n instead",
|
|
},
|
|
],
|
|
},
|
|
],
|
|
},
|
|
"overrides": [
|
|
{
|
|
"files": ["**/*.{test,story}.{ts,tsx}"],
|
|
"rules": {
|
|
"no-restricted-imports": "off",
|
|
"react/prop-types": "off",
|
|
},
|
|
},
|
|
],
|
|
}
|