mirror of
https://github.com/grafana/grafana.git
synced 2024-11-30 20:54:22 -06:00
a97e9a1e17
* Update dependency rollup to v3 * build(rollup): update all rollup related deps to latest version * chore(runtime): update peerDeps to match other package semver ranges * chore(yarn): refresh lock file * refactor(packages): migrate to esm for rollup@3 configs * build(packages): remove unused rollup dependencies --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
22 lines
485 B
Plaintext
22 lines
485 B
Plaintext
{
|
|
"rules": {
|
|
"no-restricted-imports": [
|
|
"error",
|
|
{ "patterns": ["@grafana/runtime", "@grafana/data/*", "@grafana/ui/*", "@grafana/e2e/*"] }
|
|
]
|
|
},
|
|
"overrides": [
|
|
// rollup v3 uses esm modules
|
|
{
|
|
"files": ["rollup.config.mjs"],
|
|
"parser": "@babel/eslint-parser",
|
|
"parserOptions": {
|
|
"requireConfigFile": false,
|
|
"babelOptions": {
|
|
"plugins": ["@babel/plugin-syntax-import-assertions"]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|