代码拉取完成,页面将自动刷新
import PostCssScss from "postcss-scss";
export default {
root: true,
defaultSeverity: "error",
plugins: [
"stylelint-scss",
"stylelint-order",
"stylelint-declaration-block-no-ignored-properties",
],
extends: [
"stylelint-config-standard",
"stylelint-config-html/html", // the shareable html config for Stylelint.
"stylelint-config-recess-order",
// 'stylelint-config-prettier'
],
rules: {
"selector-pseudo-class-no-unknown": [
true,
{ ignorePseudoClasses: ["global"] },
],
"font-family-name-quotes": null,
"font-family-no-missing-generic-family-keyword": null,
"max-nesting-depth": [
10,
{
ignore: ["blockless-at-rules", "pseudo-classes"],
},
],
"declaration-block-no-duplicate-properties": true,
"no-duplicate-selectors": true,
"no-descending-specificity": null,
"selector-class-pattern": null,
"value-no-vendor-prefix": [true, { ignoreValues: ["box"] }],
"at-rule-no-unknown": [
true,
{
ignoreAtRules: [
"tailwind",
"unocss",
"layer",
"apply",
"variants",
"responsive",
"screen",
],
},
],
},
overrides: [
{
files: ["**/*.scss", "*.scss"],
customSyntax: PostCssScss,
rules: {
"at-rule-no-unknown": null,
"import-notation": null,
"scss/at-rule-no-unknown": [
true,
{
ignoreAtRules: [
"tailwind",
"unocss",
"layer",
"apply",
"variants",
"responsive",
"screen",
],
},
],
},
},
],
};
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。