Closed elrolito closed 10 years ago
Though I haven't confirmed yet, I guess the cause that csslint
does not read .csslintrc
is that currently atom-lint
runs csslint
in the root directory rather than the project root directory. I'll try later.
The CSS Lint CLI always checks the current working directory to see if there is a
.csslintrc
file present.
Yeah, just did a quick test. the .csslintrc
file needs to be in the same directory csslint
is called, which is a pain. Also, there is conflicting info about the format of the file; I read somewhere that it needed to be a json file, but in the wiki it apparently needs to be plain text and like the CLI options.
My code should allow the options to apply to the linting of any css file in any directory.
Closing according to #55.
This seems to be an issue with CSSLint itself. There currently isn't a way to set this up.