@umijs/lint 4.0.65 → 4.0.66
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.
|
@@ -50,7 +50,24 @@ module.exports = {
|
|
|
50
50
|
],
|
|
51
51
|
// to avoid conflicts with less option { math: always }
|
|
52
52
|
// ref: https://github.com/less/less-docs/blob/c8b9d33b0b4ec5fe59a4bbda11db202545741228/content/usage/less-options.md#math
|
|
53
|
-
"color-function-notation": null
|
|
53
|
+
"color-function-notation": null,
|
|
54
|
+
// disallowed set single font-family as PingFangSC
|
|
55
|
+
// in most cases, this font-family rule is copied unconsciously from Sketch
|
|
56
|
+
// and it will cause an unexpected font rendering on the devices that have no PingFangSC font
|
|
57
|
+
"declaration-property-value-disallowed-list": {
|
|
58
|
+
"font-family": [
|
|
59
|
+
"PingFangSC",
|
|
60
|
+
"'PingFangSC'",
|
|
61
|
+
"PingFangSC-Regular",
|
|
62
|
+
"'PingFangSC-Regular'",
|
|
63
|
+
"PingFangSC-Medium",
|
|
64
|
+
"'PingFangSC-Medium'",
|
|
65
|
+
"PingFangSC-Semibold",
|
|
66
|
+
"'PingFangSC-Semibold'",
|
|
67
|
+
"PingFangSC-Bold",
|
|
68
|
+
"'PingFangSC-Bold'"
|
|
69
|
+
]
|
|
70
|
+
}
|
|
54
71
|
},
|
|
55
72
|
customSyntax: require.resolve("../../../compiled/postcss-less"),
|
|
56
73
|
ignoreFiles: ["node_modules"],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umijs/lint",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.66",
|
|
4
4
|
"description": "@umijs/lint",
|
|
5
5
|
"homepage": "https://github.com/umijs/umi/tree/master/packages/lint#readme",
|
|
6
6
|
"bugs": "https://github.com/umijs/umi/issues",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"postcss": "^8.4.21",
|
|
28
28
|
"postcss-syntax": "0.36.2",
|
|
29
29
|
"stylelint-config-standard": "25.0.0",
|
|
30
|
-
"@umijs/babel-preset-umi": "4.0.
|
|
30
|
+
"@umijs/babel-preset-umi": "4.0.66"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@rushstack/eslint-patch": "1.1.2",
|