mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 03:59:01 +08:00
chore(deps): update dependency stylelint-config-standard to v25 (#34028)
* chore(deps): update dependency stylelint-config-standard to v25 * fix stylelint lint Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: tanghui <yoyo837@hotmail.com>
This commit is contained in:
parent
01df1f733c
commit
0bfcf36d27
@ -8,6 +8,25 @@
|
|||||||
"plugins": ["stylelint-declaration-block-no-ignored-properties"],
|
"plugins": ["stylelint-declaration-block-no-ignored-properties"],
|
||||||
"rules": {
|
"rules": {
|
||||||
"function-name-case": ["lower", { "ignoreFunctions": ["/colorPalette/"] }],
|
"function-name-case": ["lower", { "ignoreFunctions": ["/colorPalette/"] }],
|
||||||
|
"function-no-unknown": [
|
||||||
|
true,
|
||||||
|
{
|
||||||
|
"ignoreFunctions": [
|
||||||
|
"fade",
|
||||||
|
"tint",
|
||||||
|
"darken",
|
||||||
|
"ceil",
|
||||||
|
"fadein",
|
||||||
|
"floor",
|
||||||
|
"unit",
|
||||||
|
"shade",
|
||||||
|
"lighten",
|
||||||
|
"percentage",
|
||||||
|
"-",
|
||||||
|
"~`colorPalette"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
"no-descending-specificity": null,
|
"no-descending-specificity": null,
|
||||||
"no-invalid-position-at-import-rule": null,
|
"no-invalid-position-at-import-rule": null,
|
||||||
"declaration-empty-line-before": null,
|
"declaration-empty-line-before": null,
|
||||||
|
@ -277,7 +277,7 @@
|
|||||||
"stylelint": "^14.0.0",
|
"stylelint": "^14.0.0",
|
||||||
"stylelint-config-prettier": "^9.0.2",
|
"stylelint-config-prettier": "^9.0.2",
|
||||||
"stylelint-config-rational-order": "^0.1.2",
|
"stylelint-config-rational-order": "^0.1.2",
|
||||||
"stylelint-config-standard": "^24.0.0",
|
"stylelint-config-standard": "^25.0.0",
|
||||||
"stylelint-declaration-block-no-ignored-properties": "^2.1.0",
|
"stylelint-declaration-block-no-ignored-properties": "^2.1.0",
|
||||||
"stylelint-order": "^5.0.0",
|
"stylelint-order": "^5.0.0",
|
||||||
"theme-switcher": "^1.0.2",
|
"theme-switcher": "^1.0.2",
|
||||||
|
Loading…
Reference in New Issue
Block a user