@plumeria/eslint-plugin 21.1.7 → 21.2.0
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.
|
@@ -189,7 +189,9 @@ exports.noCombinator = {
|
|
|
189
189
|
if (prop.type === 'Property') {
|
|
190
190
|
if (prop.value.type === 'Literal') {
|
|
191
191
|
const value = String(prop.value.value);
|
|
192
|
-
|
|
192
|
+
const head = value.trimStart()[0];
|
|
193
|
+
if (head === ':' || head === '[')
|
|
194
|
+
checkAndReport(value, prop.value);
|
|
193
195
|
}
|
|
194
196
|
}
|
|
195
197
|
}
|
|
@@ -651,6 +651,7 @@ const cssPropertyData = [
|
|
|
651
651
|
'fill-opacity',
|
|
652
652
|
'fill-rule',
|
|
653
653
|
'filter',
|
|
654
|
+
'fit-tolerance',
|
|
654
655
|
'flex',
|
|
655
656
|
'flex-basis',
|
|
656
657
|
'flex-direction',
|
|
@@ -798,11 +799,13 @@ const cssPropertyData = [
|
|
|
798
799
|
'max-height',
|
|
799
800
|
'max-inline-size',
|
|
800
801
|
'max-lines',
|
|
802
|
+
'max-size',
|
|
801
803
|
'max-width',
|
|
802
804
|
'min-block-size',
|
|
803
805
|
'min-height',
|
|
804
806
|
'min-inline-size',
|
|
805
807
|
'min-intrinsic',
|
|
808
|
+
'min-size',
|
|
806
809
|
'min-width',
|
|
807
810
|
'mix-blend-mode',
|
|
808
811
|
'motion',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plumeria/eslint-plugin",
|
|
3
|
-
"version": "21.
|
|
3
|
+
"version": "21.2.0",
|
|
4
4
|
"description": "Plumeria ESLint plugin",
|
|
5
5
|
"author": "Refirst 11",
|
|
6
6
|
"license": "MIT",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"oxlint": "1.87.0",
|
|
61
61
|
"zss-engine": "3.0.1",
|
|
62
|
-
"@plumeria/compiler": "21.
|
|
62
|
+
"@plumeria/compiler": "21.2.0"
|
|
63
63
|
},
|
|
64
64
|
"scripts": {
|
|
65
65
|
"build": "rimraf dist && pnpm cjs",
|