Files
hyperframes/packages
Miguel Ángel 09a5ef7092 fix(lint): stop duplicate_composition_id firing on repeated sub-composition mounts (#3404)
sub-compositions.md documents mounting one sub-composition several times
with different data-variable-values to get per-instance variations. That
necessarily repeats data-composition-id, so the rule reported our own
documented pattern as an error and blocked check with no correct way to
satisfy it.

The rule bucketed every element by id with no awareness of
data-composition-src, so it could not tell a composition root from a
mount. The runtime already distinguishes them: repeated mounts are
rewritten to id__hf1, id__hf2 so they coexist, and render, validate,
inspect and snapshot all handle the pattern.

Skip mounts, the same way the rule already skips tags inside an inert
template. The collision it exists for is unaffected: its own fixHint
names a <meta> tag carrying the root's id, and that tag has no
data-composition-src.

Closes #3403
2026-08-21 18:59:21 -04:00
..
2026-08-21 15:21:20 -04:00
2026-08-21 15:21:20 -04:00
2026-08-21 15:21:20 -04:00
2026-08-21 15:21:20 -04:00
2026-08-21 15:21:20 -04:00
2026-08-21 15:21:20 -04:00
2026-08-21 15:21:20 -04:00
2026-08-21 15:21:20 -04:00