anentrypoint-design 0.0.394 → 0.0.396
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/package.json +1 -1
- package/scripts/lint-css.mjs +7 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "anentrypoint-design",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.396",
|
|
4
4
|
"description": "247420 design system SDK — webjsx + modified ripple-ui, single-file ESM bundle for reproducible use of the AnEntrypoint design.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/247420.js",
|
package/scripts/lint-css.mjs
CHANGED
|
@@ -26,6 +26,7 @@ import { lintClassesOrThrow } from './lint-classes.mjs';
|
|
|
26
26
|
import { lintInlineStylesOrThrow } from './lint-inline-styles.mjs';
|
|
27
27
|
import { lintDuplicateSelectorsOrThrow } from './lint-duplicate-selectors.mjs';
|
|
28
28
|
import { lintSwallowCommentsOrThrow } from './lint-swallow-comments.mjs';
|
|
29
|
+
import { lintInlineCssOrThrow } from './lint-inline-css.mjs';
|
|
29
30
|
|
|
30
31
|
// Each entry: a human label for the report, and the check function to run.
|
|
31
32
|
// EVERY check here throws on violation and is counted in the pass/fail tally.
|
|
@@ -47,6 +48,12 @@ const CHECKS = [
|
|
|
47
48
|
['spacing', lintSpacingOrThrow],
|
|
48
49
|
['fontsize', lintFontSizeOrThrow],
|
|
49
50
|
['important', lintImportantOrThrow],
|
|
51
|
+
// Fourth ratchet, and the only one whose scan set is HTML rather than .css:
|
|
52
|
+
// the token scanners above are blind to CSS living inside a <style> block,
|
|
53
|
+
// so those declarations were never linted at all. Same coverage-hole shape
|
|
54
|
+
// as the @import barrel (a gate reporting green over ground it never
|
|
55
|
+
// scanned), same remedy: widen the scan set, do not loosen the rule.
|
|
56
|
+
['inline-css', lintInlineCssOrThrow],
|
|
50
57
|
['glyphs', lintGlyphsOrThrow],
|
|
51
58
|
['null-children', lintNullChildrenOrThrow],
|
|
52
59
|
['classes', lintClassesOrThrow],
|