pasika 0.10.157 → 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.
- package/dist/eslint/pasika/index.js +13 -1
- package/package.json +1 -1
|
@@ -10075,7 +10075,10 @@ function collectBodyUtilities(node) {
|
|
|
10075
10075
|
}
|
|
10076
10076
|
}
|
|
10077
10077
|
}
|
|
10078
|
-
|
|
10078
|
+
const hasBaseLayer = baseLayers.some(
|
|
10079
|
+
(layer) => blockChildren2(layer).some((child) => child.type !== "Atrule" || child.name !== "keyframes")
|
|
10080
|
+
);
|
|
10081
|
+
return { hasBaseLayer, names };
|
|
10079
10082
|
}
|
|
10080
10083
|
var baseLayerPairRule = {
|
|
10081
10084
|
meta: {
|
|
@@ -11906,6 +11909,15 @@ var themeTokenOrderRule = {
|
|
|
11906
11909
|
}
|
|
11907
11910
|
return {
|
|
11908
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
|
+
}
|
|
11909
11921
|
let previous;
|
|
11910
11922
|
for (const item of items) {
|
|
11911
11923
|
const currentGroup = item.group;
|