svelte-parser constraints
extractComponentInfo()insrc/component-scanner.tsis intentionally copy-pasted across vue-parser, svelte-parser, and astro-parser (no shared module). Any fix to it must be applied to all three.- After changing
src/component-scanner.ts, also runnpx vitest run packages/@markuplint/pretenders— pretenders loads the scanner dynamically via the/component-scannersubpath export, so this package's own tests do not cover the integration.
Source: markuplint/markuplint — distributed by TomeVault.