StyleLint'未知规则声明-property-value-black-lacklist'每个CSS文件的错误
在针对CSS文件运行Stylelint时,每个文件都有一个输出,并带有以下错误。奇怪的是,错误出现在每个文件的第一行/字符上。
1:1 x未知规则声明 - 宣传 - value-blacklist
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Stylelint 14.x和Stylelint-Config-airbnb插件之间存在兼容性错误。
There is a compatibility error between Stylelint 14.x and the stylelint-config-airbnb plugin. https://issuemode.com/issues/airbnb/css/10818973
StyleLint在其未识别的配置对象中遇到规则时显示了“未知规则...”问题。
声明property-value-blacklist
规则在版本14.0.0.0 stylelint。它被 规则。您应该更新您的配置对象以改用该规则。Stylelint shows the "Unknown rule ..." problem when it encounters a rule in the configuration object that it doesn't recognise.
The
declaration-property-value-blacklist
rule was removed in version 14.0.0 of Stylelint. It was replaced by thedeclaration-property-value-disallowed-list
rule. You should update your configuration object to use that rule instead.