css - 在 Atom 上的 linter-csslint 中禁用警告(ids 选择器)?

标签 css atom-editor linter

如何在像 iDs 选择器这样的 Atom 上禁用 linter-csslint 中的警告 warning

最佳答案

您可以在指定的元素目录中创建一个.csslintrc 文件here .在文件中,您可以添加以下内容:

{
  "ignore": [
    "ids"
  ]
}

您可以看到完整的规则列表here .

关于css - 在 Atom 上的 linter-csslint 中禁用警告(ids 选择器)?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44875427/

相关文章:

html - 删除表之间的空间似乎不起作用

cygwin - 在 cygwin 中使用 apm 和atom编辑器命令时出现问题

javascript - 如何修复 eslint 箭头体错误中的 block 语句?

gitlab-ci - 用于检查代码格式的 gitlab CI 管道

visual-studio-code - 是否可以使用 Visual Studio Code 的 linter 忽略特定警告?

javascript - HTML5 选择多个值进行排列

html - 标题和描述的CSS设计代码是什么?

html - 列出与背景图像宽度相同的元素

ubuntu - Idris 交互式编辑命令在 Linux 上的 Atom 中不起作用

atom-editor - 如何从 Hydrogen for Atom 中删除 IPython 内核