Commit 7f06769f authored by 李明环(东信)'s avatar 李明环(东信)

stylelint支持rpx

parent 08451a1f
......@@ -24,6 +24,12 @@ module.exports = {
"font-family-no-missing-generic-family-keyword": null, // 禁止在字体族名称列表中缺少通用字体族关键字
"scss/at-import-partial-extension": null, // 解决不能使用 @import 引入 scss 文件
"property-no-unknown": null, // 禁止未知的属性
"unit-no-unknown": [
true,
{
ignoreUnits: ["rpx"]
}
], //禁止未知的单位
"no-empty-source": null, // 禁止空源码
"selector-class-pattern": null, // 强制选择器类名的格式
"value-no-vendor-prefix": null, // 关闭 vendor-prefix (为了解决多行省略 -webkit-box)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment