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:
renovate[bot] 2022-02-15 18:18:41 +08:00 committed by GitHub
parent 01df1f733c
commit 0bfcf36d27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 1 deletions

View File

@ -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,

View File

@ -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",