56 lines
1.2 KiB
JSON
56 lines
1.2 KiB
JSON
{
|
|
"extends": [
|
|
"stylelint-config-recommended",
|
|
"stylelint-config-recommended-scss",
|
|
"stylelint-config-recommended-vue/scss",
|
|
"stylelint-config-html/vue",
|
|
"stylelint-config-recess-order"
|
|
],
|
|
"plugins": ["stylelint-prettier"],
|
|
"overrides": [
|
|
{
|
|
"files": ["**/*.{vue,html}"],
|
|
"customSyntax": "postcss-html"
|
|
},
|
|
{
|
|
"files": ["**/*.{css,scss}"],
|
|
"customSyntax": "postcss-scss"
|
|
}
|
|
],
|
|
|
|
"rules": {
|
|
"import-notation": "string",
|
|
"selector-class-pattern": null,
|
|
"custom-property-pattern": null,
|
|
"keyframes-name-pattern": null,
|
|
"no-descending-specificity": null,
|
|
"no-empty-source": null,
|
|
"declaration-property-value-no-unknown": null,
|
|
"unit-no-unknown": null,
|
|
"selector-type-no-unknown": [
|
|
true,
|
|
{
|
|
"ignoreTypes": ["page"]
|
|
}
|
|
],
|
|
"selector-pseudo-class-no-unknown": [
|
|
true,
|
|
{
|
|
"ignorePseudoClasses": ["global", "export", "deep"]
|
|
}
|
|
],
|
|
"property-no-unknown": [
|
|
true,
|
|
{
|
|
"ignoreProperties": []
|
|
}
|
|
],
|
|
"at-rule-no-unknown": [
|
|
true,
|
|
{
|
|
"ignoreAtRules": ["apply", "use", "forward"]
|
|
}
|
|
]
|
|
}
|
|
}
|