Skip to content

Commit 0e763de

Browse files
committed
fix: Removing an addressed TODO.
1 parent 2f1860f commit 0e763de

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

packages/@css-blocks/core/src/BlockParser/features/construct-block.ts

-3
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,6 @@ export async function constructBlock(configuration: Configuration, root: postcss
109109

110110
function addStyleRules(style: AttrValue | BlockClass, rule: postcss.Rule, tuple: Set<[Style, postcss.Rule]>): void {
111111
rule.walkDecls(BLOCK_ALIAS, decl => {
112-
// TODO: check for errors
113-
// 1. check that the only separators are spaces
114-
// 2. check that there are no block aliases to complex selectors
115112
style.setStyleAliases(new Set(decl.value.split(/\s+/).map(stripQuotes)));
116113
decl.remove();
117114
});

0 commit comments

Comments
 (0)