2019-02-15 10:48:07 +08:00
|
|
|
{
|
|
|
|
"extends": [
|
|
|
|
"stylelint-config-standard",
|
|
|
|
"stylelint-config-rational-order",
|
|
|
|
"stylelint-config-prettier"
|
|
|
|
],
|
2021-10-22 13:35:36 +08:00
|
|
|
"customSyntax": "postcss-less",
|
2021-01-08 10:14:01 +08:00
|
|
|
"plugins": ["stylelint-declaration-block-no-ignored-properties"],
|
2019-02-15 10:48:07 +08:00
|
|
|
"rules": {
|
|
|
|
"function-name-case": ["lower", { "ignoreFunctions": ["/colorPalette/"] }],
|
2022-02-15 18:18:41 +08:00
|
|
|
"function-no-unknown": [
|
|
|
|
true,
|
|
|
|
{
|
|
|
|
"ignoreFunctions": [
|
|
|
|
"fade",
|
2022-05-07 12:04:46 +08:00
|
|
|
"fadeout",
|
2022-02-15 18:18:41 +08:00
|
|
|
"tint",
|
|
|
|
"darken",
|
|
|
|
"ceil",
|
|
|
|
"fadein",
|
|
|
|
"floor",
|
|
|
|
"unit",
|
|
|
|
"shade",
|
|
|
|
"lighten",
|
|
|
|
"percentage",
|
|
|
|
"-",
|
|
|
|
"~`colorPalette"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
2019-05-07 15:31:08 +08:00
|
|
|
"no-descending-specificity": null,
|
2021-04-26 17:44:48 +08:00
|
|
|
"no-invalid-position-at-import-rule": null,
|
2021-10-22 13:35:36 +08:00
|
|
|
"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
|
2019-02-15 10:48:07 +08:00
|
|
|
},
|
|
|
|
"ignoreFiles": ["components/style/color/{bezierEasing,colorPalette,tinyColor}.less"]
|
|
|
|
}
|