Expected “fontFamily.sans” to be “fontfamily.sans” value-keyword-case

一、问题

stylelint自动将scss中大写配置转为小写

二、问题解决

在.stylelintrc中添加如下规则:

三、文档

https://stylelint.io/user-guide/rules/list/value-keyword-case

扫码领红包

公众号

头条号