本文介绍了在 Atom 上的 linter-csslint 中禁用警告(id 选择器)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在 Atom 上禁用 linter-csslint 中的警告,如 iDs 选择器警告
How to disable warnings in linter-csslint on Atom like iDs selectorwarning
推荐答案
您可以在指定的项目目录中创建 .csslintrc
文件 这里.在文件中,您可以添加:
You can create a .csslintrc
file in your project's directory as specified here. Inside the file, you can add this:
{
"ignore": [
"ids"
]
}
您可以在此处查看完整的规则列表.
You can see the full list of rules here.
这篇关于在 Atom 上的 linter-csslint 中禁用警告(id 选择器)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!