@teacss/linter 1.0.0 → 1.0.1
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/README.md +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -413,7 +413,7 @@ Your own options join the preset:
|
|
|
413
413
|
| `grid-column:[1/-1]` | the full-width span in `standard.md` |
|
|
414
414
|
| `max-w:[34em]` | the prose measure |
|
|
415
415
|
| `rd:9999px` | the pill radius |
|
|
416
|
-
| `/^rd:\[calc\(var\(--radius-\w+\)_-_[^@]+\)\]$/` | a radius step minus a length: `rd:[calc(var(--radius-4x)_-_1px)]` |
|
|
416
|
+
| `/^rd:\[calc\(var\(--radius-\w+\)_-_[^@]+\)\]$/` | a radius step minus a length: `rd:[calc(var(--radius-4x)_-_var(--spacing)_-_1px)]` |
|
|
417
417
|
| `p-b:[env(safe-area-inset-bottom)]` | the safe-area padding of a full-bleed surface |
|
|
418
418
|
|
|
419
419
|
None of these entries matches a class with a condition as a whole, so the conditions of an allowed class are still checked: `max-w:[34em]@md` and `rd:9999px!` pass, and `max-w:[34em]@[&>li]` is reported for its condition.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teacss/linter",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "oxlint plugin for TeaCSS: limits which classes a project may write",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"node": ">=26"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@teacss/engine": "1.0.
|
|
36
|
+
"@teacss/engine": "1.0.1"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"oxlint": "1.95.x"
|