EDIT 2: Seems like .csslintrc changed format from JSON to "flags", see brendanmckeown's comment
EDIT: I've seen in the issues here that's it's not implemented.
I've placed in the root of my project a file named ".csslintrc" and tried some rules but none of those worked.
I've tried to restart the plugin and even Atom but nothing worked, the rules I've set are ignored.
I believe the format is in JSON.
Example of what a tried:
{
"adjoining-classes": true,
"box-model": false,
"box-sizing": false,
"bulletproof-font-face": false,
"compatible-vendor-prefixes": false,
"display-property-grouping": false,
"duplicate-background-images": false,
"duplicate-properties": false,
"empty-rules": false,
"fallback-colors": false,
"floats": false,
"font-faces": false,
"font-sizes": false,
"gradients": false,
"ids": false,
"import": false,
"important": false,
"known-properties": false,
"non-link-hover": false,
"outline-none": false,
"overqualified-elements": true,
"qualified-headings": false,
"regex-selectors": false,
"shorthand": false,
"star-property-hack": false,
"text-indent": false,
"underscore-property-hack": false,
"vendor-prefix": false,
"unique-headings": false,
"universal-selector": false,
"unqualified-attributes": false,
"zero-units": false
}
EDIT 2: Seems like
.csslintrcchanged format from JSON to "flags", see brendanmckeown's commentEDIT: I've seen in the issues here that's it's not implemented.
I've placed in the root of my project a file named ".csslintrc" and tried some rules but none of those worked.
I've tried to restart the plugin and even Atom but nothing worked, the rules I've set are ignored.
I believe the format is in JSON.
Example of what a tried:
{ "adjoining-classes": true, "box-model": false, "box-sizing": false, "bulletproof-font-face": false, "compatible-vendor-prefixes": false, "display-property-grouping": false, "duplicate-background-images": false, "duplicate-properties": false, "empty-rules": false, "fallback-colors": false, "floats": false, "font-faces": false, "font-sizes": false, "gradients": false, "ids": false, "import": false, "important": false, "known-properties": false, "non-link-hover": false, "outline-none": false, "overqualified-elements": true, "qualified-headings": false, "regex-selectors": false, "shorthand": false, "star-property-hack": false, "text-indent": false, "underscore-property-hack": false, "vendor-prefix": false, "unique-headings": false, "universal-selector": false, "unqualified-attributes": false, "zero-units": false }