// @see: https://stylelint.io export default { root: true, defaultSeverity: "error", plugins: ["stylelint-order", "stylelint-scss"], /* 继承某些已有的规则 */ extends: [ "stylelint-config-standard", // 配置stylelint拓展插件 "stylelint-config-html/html", // the shareable html config for Stylelint. "stylelint-config-html/vue", // 配置 vue 中 template 样式格式化 "stylelint-config-recess-order", // 配置stylelint css属性书写顺序插件, "stylelint-config-prettier" // 配置stylelint和prettier兼容 ], overrides: [ // 扫描 .vue/html 文件中的