最佳答案
不幸的是,VS Code 的内置 linter 没有排除设置。您只能禁用特定规则(请参阅 settings.json 中的 css.
属性)。
您可以尝试使用 stylelint扩展名改为 ignoreFiles
设置(参见 this answer)。
关于css - 如何在 vscode 中从 css lint 中排除文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44523355/
最佳答案
不幸的是,VS Code 的内置 linter 没有排除设置。您只能禁用特定规则(请参阅 settings.json 中的 css.
属性)。
您可以尝试使用 stylelint扩展名改为 ignoreFiles
设置(参见 this answer)。
关于css - 如何在 vscode 中从 css lint 中排除文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44523355/