wx-starlock/.stylelintrc.json
2025-03-28 16:57:35 +08:00

57 lines
1.4 KiB
JSON

{
"extends": [
"stylelint-config-standard",
"stylelint-config-recommended-scss",
"stylelint-config-recess-order",
"stylelint-config-html/vue"
],
"ignoreFiles": ["**/*.js", "**/*.ts", "unpackage/**/*"],
"overrides": [
{
"files": ["**/*.vue"],
"customSyntax": "postcss-html",
"rules": {
"at-rule-no-unknown": null,
"no-unknown-custom-properties": null
}
},
{
"files": ["**/*.vue/*.scss"],
"customSyntax": "postcss-scss"
},
{
"files": ["**/*.(scss|css|html)"],
"customSyntax": "postcss-scss"
}
],
"rules": {
"no-descending-specificity": null,
"selector-class-pattern": null,
"keyframes-name-pattern": null,
"unit-no-unknown": null,
"import-notation": null,
"selector-type-no-unknown": [
true,
{
"ignoreTypes": ["page"]
}
],
"color-hex-length": null,
"declaration-property-value-no-unknown": null,
"shorthand-property-no-redundant-values": null,
"alpha-value-notation": null,
"color-function-notation": null,
"at-rule-no-unknown": null,
"property-no-unknown": null,
"no-unknown-custom-properties": null,
"value-keyword-case": null,
"custom-property-pattern": null,
"selector-pseudo-class-no-unknown": [
true,
{
"ignorePseudoClasses": ["deep", "global"]
}
]
}
}