pasika 0.10.158 → 0.10.159
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -11909,6 +11909,15 @@ var themeTokenOrderRule = {
|
|
|
11909
11909
|
}
|
|
11910
11910
|
return {
|
|
11911
11911
|
"StyleSheet:exit"(node) {
|
|
11912
|
+
for (const group of groups) {
|
|
11913
|
+
const next = lines.slice(group.line).find((line) => line.trim().length > 0);
|
|
11914
|
+
if (next !== void 0 && !next.trimStart().startsWith("}") && !GROUP_RE.test(next)) continue;
|
|
11915
|
+
context.report({
|
|
11916
|
+
node,
|
|
11917
|
+
loc: { start: { line: group.line, column: 1 }, end: { line: group.line, column: 2 } },
|
|
11918
|
+
message: "CSS consumer group comment has no associated definition; remove the orphaned comment."
|
|
11919
|
+
});
|
|
11920
|
+
}
|
|
11912
11921
|
let previous;
|
|
11913
11922
|
for (const item of items) {
|
|
11914
11923
|
const currentGroup = item.group;
|