@hyperframes/lint 0.8.26 → 0.8.27
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/browser.js +6 -1
- package/dist/browser.js.map +1 -1
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -571,7 +571,12 @@ var coreRules = [
|
|
|
571
571
|
let root;
|
|
572
572
|
try {
|
|
573
573
|
root = postcss.parse(style.content);
|
|
574
|
-
} catch {
|
|
574
|
+
} catch (error) {
|
|
575
|
+
findings.push({
|
|
576
|
+
code: "css_parse_error",
|
|
577
|
+
severity: "error",
|
|
578
|
+
message: `CSS parse error: ${error instanceof Error ? error.message : "unknown"}`
|
|
579
|
+
});
|
|
575
580
|
continue;
|
|
576
581
|
}
|
|
577
582
|
root.walkRules((rule) => {
|