我正在尝试.sublimelinterrc
为 SublimeLinter 和 CSSlint 配置文件,我编写了一个规则列表示例,但它不起作用并继续使用默认规则对其进行 lint,这是我的配置:
{
"linters":{
"csslint": {
"@disable": false,
"errors": [
"non-link-hover, ids, display-property-grouping, empty-rules, underscore-property-hack, star-property-hack, text-indent"
],
"ignore": [
"box-model, adjoining-classes, import, universal-selector, overqualified-elements, floats, font-sizes, important, unique-headings"
],
"warnings": [
"known-properties, duplicate-properties, qualified-headings, duplicate-background-images, shorthand, zero-units, unqualified-attributes, regex-selectors, font-faces, bulletproof-font-face, fallback-colors, vendor-prefix, gradients, compatible-vendor-prefixes"
]
}
}
}
我很喜欢 SublimeLinter 和 SublimeLInter-csslint 并且正在工作。
我应该如何写.sublimelinterrc
文件?