Read a directive that binds a custom property #27

Merged
PerishFire merged 1 commit from land/svelte-custom-property into main 2026-08-14 11:42:48 +00:00
Owner

Read a directive that binds a custom property

An attribute name allowed one separator before each identifier, so a
Svelte directive naming a custom property was terrain the scan could not
read: style:--ruled={value} left two unparsed regions per file and the
coverage law refused, correctly, because a clean result cannot cover
what was never parsed.

A separator may repeat before an identifier now. Directive prefixes,
data attributes, event modifiers and custom property names all pass
through the same rule, and the design system that found this reads clean
where it reported four coverage errors before.

Read a directive that binds a custom property An attribute name allowed one separator before each identifier, so a Svelte directive naming a custom property was terrain the scan could not read: style:--ruled={value} left two unparsed regions per file and the coverage law refused, correctly, because a clean result cannot cover what was never parsed. A separator may repeat before an identifier now. Directive prefixes, data attributes, event modifiers and custom property names all pass through the same rule, and the design system that found this reads clean where it reported four coverage errors before.
Read a directive that binds a custom property
Some checks failed
guard / guard (pull_request) Failing after 1m3s
guard / guard-windows (pull_request) Successful in 1m45s
9f25a6a583
Read a directive that binds a custom property

An attribute name allowed one separator before each identifier, so a
Svelte directive naming a custom property was terrain the scan could not
read: style:--ruled={value} left two unparsed regions per file and the
coverage law refused, correctly, because a clean result cannot cover
what was never parsed.

A separator may repeat before an identifier now. Directive prefixes,
data attributes, event modifiers and custom property names all pass
through the same rule, and the design system that found this reads clean
where it reported four coverage errors before.

Land-Source: svelte-custom-property@72b4fe94ceea66bb7d39dc92530b4cb92959bc7f
PerishFire force-pushed land/svelte-custom-property from 9f25a6a583
Some checks failed
guard / guard (pull_request) Failing after 1m3s
guard / guard-windows (pull_request) Successful in 1m45s
to aa506da5a5
All checks were successful
guard / guard (push) Successful in 53s
guard / guard-windows (push) Successful in 1m29s
guard / guard (pull_request) Successful in 1m2s
guard / guard-windows (pull_request) Successful in 1m37s
2026-08-14 11:40:35 +00:00
Compare
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
PerishFire/ectropy!27
No description provided.