39 lines
941 B
JavaScript
39 lines
941 B
JavaScript
module.exports = {
|
|
extends: [
|
|
"stylelint-config-recommended",
|
|
"stylelint-config-recommended-scss",
|
|
"stylelint-config-recommended-vue/scss",
|
|
"stylelint-config-html/vue",
|
|
"stylelint-config-recess-order",
|
|
],
|
|
overrides: [
|
|
{
|
|
files: ["**/*.{vue,html}"],
|
|
customSyntax: "postcss-html",
|
|
},
|
|
{
|
|
files: ["**/*.{css,scss}"],
|
|
customSyntax: "postcss-scss",
|
|
},
|
|
],
|
|
rules: {
|
|
"no-empty-source": null,
|
|
"declaration-property-value-no-unknown": null,
|
|
"selector-pseudo-class-no-unknown": [
|
|
true,
|
|
{
|
|
ignorePseudoClasses: ["global", "export", "deep"],
|
|
},
|
|
],
|
|
"selector-pseudo-element-no-unknown": [
|
|
true,
|
|
{
|
|
ignorePseudoElements: ["deep", "slotted", "global", "v-deep", "v-slotted", "v-global"],
|
|
},
|
|
],
|
|
"no-invalid-position-declaration": null,
|
|
"at-rule-no-unknown": null,
|
|
"scss/at-rule-no-unknown": true,
|
|
},
|
|
};
|