Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试找到一种在 sublimetext 3 上永久设置 sublimelinter css 规则的方法,但我找不到.. 怎么做?:)
我对终端不太好。我还尝试将 .csslintrc 放在我的主目录上,但它不起作用。它不像 jshint。
您可以在 CSS 文件夹中添加一个 .csslintrc 文件,而不是在项目根目录中,(并为每个子文件夹复制它......)
--ignore=ids
否则,您可以在主目录中添加.sublimelinterrc配置文件。
{ "linters": { "csslint": { "ignore": ["ids"] } } }