Repository navigation
v0.7.4
Summary
Lint reads the components of the Nativele component packages a project depends on, findings from migrating a real application are fixed, diagnostics use one severity scale and one path per check, and the docs, Skills and tests are cut down and rewritten for reading. Recorded in CHANGELOG under 0.7.4.
Changes
- Component packages: lint,
ts-dom checkand the oxlint plugin check the components of each dependency that lists@nativele/ts-dom, read from the modules itsexportsname;ts-dom genstill writes only from the scanned folders. A tag declared only in TypeScript is listed as such byunchecked-custom-elements. - New checks:
constructor-host-change(a constructor that changes the element itself, which makes a browser create anHTMLUnknownElement),define-class-not-exportedints-dom check, and the runtime warningunslotted-nodewhen a Light DOM component removes a child with no matching slot. Lint followsextendsto theComponent(...)class a subclass extends. - doctor: only errors and warnings (
skill-outdatedis a warning;ts-dom skillsshows which Skills cover the project's dependencies), nostale-generatedand no--include/--exclude/--whitespace,--ignoreadded. - One path per check:
duplicate-definewithin and across folders, onestale-generatedmessage, one issue formatter, each id once ints-dom rules,--ignorereachingunchecked-content. - Fixes: comments among a Light DOM host's children stay where they are; lifecycle callbacks are declared on the component type (no TS4113); several
tsDom()share one watcher listener (noMaxListenersExceededWarning); the runtimedata-properror isitem-prop-missing. - Docs and Skills: duplicated, stale and wrong passages removed; every passage restructured under writing rules now in
docs/contributing.md; all 19 Skills re-verified by agent trials on 2026-11-08. - Tests: shared helpers, duplicate tests removed, browser tests on ephemeral ports, a real-browser test of the constructor behavior and the slot warning.
- Versioning policy: any 0.x version, a patch included, may contain breaking changes, marked in its section.
Verification
npm run check,npm test(751),npm run lint,npm run test:browser(118),npm run bench:check.- Fresh Sonnet agent trials of all 19 Skills from packed builds, each checked again independently; the four Skills changed afterwards (core, linting, testing, formatting) trialled again.
Breaking Changes
ts-dom doctorno longer takes--include,--excludeand--whitespace, no longer reportsstale-generated(usets-dom gen --checkorts-dom check --no-write), and its--jsonhas noinfoissues;skill-availableis gone.
🤖 Generated with Claude Code