linkedin / linkedin/css-blocks

Remove root element / root class special cases & validation from glimmer analyzer.

Open
#401 1 comment 0 reactions 2 assignees Claimed by @timlindvall View on GitHub
Dominant language
TypeScript
Stars
6.3k
Forks
154
PR merge metrics
No merged PRs in 30d

Description

Glimmer no longer requires a root element so it doesn't make sense to automatically put the block's scope on the first element it finds. An explicit `block:scope` should be used instead.

We should also remove the validation that the "root element" cannot be a class from the block.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.