Commit 31192cf7 by Andrej Ocenas Committed by GitHub

Chore: Restrict internal imports from other packages (#30453)

parent 90551eaf
{ {
"rules": { "rules": {
"no-restricted-imports": ["error", { "patterns": ["@grafana/runtime", "@grafana/ui", "@grafana/data"] }] "no-restricted-imports": ["error", { "patterns": ["@grafana/runtime", "@grafana/ui", "@grafana/data", "@grafana/e2e/*"] }]
}, },
"overrides": [ "overrides": [
{ {
......
{ {
"rules": { "rules": {
"no-restricted-imports": ["error", { "patterns": ["@grafana/runtime"] }] "no-restricted-imports": ["error", { "patterns": ["@grafana/runtime", "@grafana/data/*", "@grafana/ui/*", "@grafana/e2e/*"] }]
} }
} }
{ {
"rules": { "rules": {
"no-restricted-imports": ["error", { "patterns": ["@grafana/runtime", "@grafana/ui", "@grafana/e2e"] }] "no-restricted-imports": ["error", { "patterns": ["@grafana/runtime", "@grafana/data/*", "@grafana/ui", "@grafana/e2e"] }]
}, },
"overrides": [ "overrides": [
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment