mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-03 04:38:33 +00:00
## Summary - Composition HTML files are always wrapped in `<template id="...">` tags - The linter was checking the raw HTML including the template wrapper, causing false positives: - `missing-composition-id` on files that have it inside `<template>` - `missing-dimensions` on files that have `data-width`/`data-height` inside `<template>` - Fix: strip `<template>` wrapper before linting, matching how the runtime and preview server handle these files ## Test plan - [x] Added test: `strips <template> wrapper before linting composition files` - [x] All 345 existing tests pass - [ ] Verify lint panel no longer shows false positives for composition files 🤖 Generated with [Claude Code](https://claude.com/claude-code)