Files
romm/docs
Georges-Antoine Assi 0fcf674045 build(frontend): detect import cycles with eslint instead of dpdm
dpdm cannot resolve or parse Vue SFCs, so it saw none of the ~519
components: `.vue` imports were dead ends and the graph stopped at the
first one. `import-x/no-cycle` runs on the ESLint config that already
parses `.vue` with type awareness, and Trunk already runs ESLint in CI,
so the check needs no separate tool, config file or CI step.

Lazy route components make the router reachable from the views it
renders, so dynamic edges are excluded; without that the rule reports
390 files instead of the real 3. Those 3 are the frozen-v1 `src/console`
cycles dpdm also found, so the two tools agree on today's graph and the
swap is not a cleanup.

Drop the `circular` script, `dpdm.config.ts`, the `@dpdm-ignore`
directive and dpdm itself.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-20 11:07:53 -04:00
..