mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-16 01:41:02 +08:00
0bfcf36d27
* 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>
43 lines
1.1 KiB
JSON
43 lines
1.1 KiB
JSON
{
|
|
"extends": [
|
|
"stylelint-config-standard",
|
|
"stylelint-config-rational-order",
|
|
"stylelint-config-prettier"
|
|
],
|
|
"customSyntax": "postcss-less",
|
|
"plugins": ["stylelint-declaration-block-no-ignored-properties"],
|
|
"rules": {
|
|
"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-invalid-position-at-import-rule": null,
|
|
"declaration-empty-line-before": null,
|
|
"keyframes-name-pattern": null,
|
|
"custom-property-pattern": null,
|
|
"number-max-precision": 8,
|
|
"alpha-value-notation": "number",
|
|
"color-function-notation": "legacy",
|
|
"selector-class-pattern": null,
|
|
"selector-id-pattern": null
|
|
},
|
|
"ignoreFiles": ["components/style/color/{bezierEasing,colorPalette,tinyColor}.less"]
|
|
}
|