UNPKG

@flypeng/stylelint-config

Version:

flingyp's lint config of Style

15 lines (10 loc) 1.25 kB
# @flypeng/stylelint-config > Stylelint 主要用于检测和强制执行 CSS 和 CSS 预处理器(如Sass、Less)的编码规范,以确保代码的一致性和质量。与代码缩进和格式化不同,Stylelint 的主要焦点是检查规则、属性、选择器、命名约定等方面的问题,而不是缩进或格式问题。 针对 样式文件(CSS、SCSS 和 Vue) 代码规范扩展 ## 扩展包 - [stylelint-config-standard](https://github.com/stylelint/stylelint-config-standard) Styleint 的标准可共享配置。 - [stylelint-config-standard-scss](https://github.com/stylelint-scss/stylelint-config-standard-scss) Styleint 的标准可共享 SCSS 配置。 - [stylelint-config-recommended-vue](https://github.com/ota-meshi/stylelint-config-recommended-vue) Styleint 推荐的可共享 Vue 配置。 - [stylelint-config-rational-order](https://github.com/constverum/stylelint-config-rational-order) 按合理顺序分组来对相关属性声明进行排序的样式配置。 - [postcss-html](https://github.com/ota-meshi/postcss-html) 用于解析 HTML(和类似 HTML)的 PostCSS 语法。 - [stylelint-prettier](https://github.com/prettier/stylelint-prettier) 用于 Prettier 格式化的 Stylelint 插件。