This came up when adding .csslintrc file support to grunt-contrib-csslint: gruntjs/grunt-contrib-csslint#6
Turns out the format the csslint expects is CLI options in a file. It would be great to instead support a format equivalent to what jshint supports in its .jshintrc file, matching what CSSLint also expects when using it programmatically.
As an usage example of the preferred format, here's a commit in jQuery UI where we moved from options to .csslintrc file: jquery/jquery-ui@39a2f46
Since csslint is still not on a 1.x.x release, I suggest to change the format instead of trying to support both.
Also related is this ticket for SublimeLinter, to add support for .csslintrc files: SublimeLinter/SublimeLinter#386
If this is acceptable, I'll try to put together a pull request.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4