stylelint-config-yllon
v1.0.0
Published
css规范
Downloads
4
Readme
stylelint-config-yllon
支持配套的 stylelint 可共享配置。
安装
需要先行安装 stylelint 和 stylelint-scss:
npm install stylelint-config-yllon stylelint stylelint-scss --save-dev
使用
在 .stylelintrc
中继承本包:
绝对路径:
{
"extends": "stylelint-config-yllon"
}
如果编译器不支持绝对路径导入报错,可更换成相对路径导入。 相对路径:
{
"extends": ["./node_modules/stylelint-config-yllon"]
}