Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

Count dynamic imports as module boundary edges (#79693)

Frasera6b5e0920055
diff --git a/eslint.config.mjs b/eslint.config.mjs
index 8ee32f64b72..af032cc7eec 100644
--- a/eslint.config.mjs
+++ b/eslint.config.mjs
@@ -311,6 +311,7 @@ const configs = [
settings: {
"boundaries/elements": boundaryElements,
"boundaries/ignore": ["**/e2e/**", "test/**"],
+ "boundaries/dependency-nodes": ["import", "dynamic-import"],
},
rules: {
"boundaries/element-types": [
diff --git a/eslint.config.module-boundaries.mjs b/eslint.config.module-boundaries.mjs
index b54960360e8..f8a961524c1 100644
--- a/eslint.config.module-boundaries.mjs
+++ b/eslint.config.module-boundaries.mjs
@@ -78,6 +78,7 @@ export default defineConfig([
settings: {
"boundaries/elements": boundaryElements,
"boundaries/ignore": ["**/e2e/**", "test/**"],
+ "boundaries/dependency-nodes": ["import", "dynamic-import"],
"import-x/resolver": {
node: true,
webpack: {