-
Notifications
You must be signed in to change notification settings - Fork 8
Does not support .csslintrc? #73
Comments
i'm very interested in this also - i tried in the project root but it doesn't seem to work. Does the plugin currently support csslintrc files? Cheers |
We're simply executing That being said, since |
Marking this as closed due to a complete lack of response. If you have any further information feel free to comment back! |
Sorry - didn't know this was waiting on a reply. I don't think those bugs referenced are related to this. This is just csslint basic support for it's config file. The csslint docs say: "The CSS Lint CLI always checks the current working directory to see if there is a .csslintrc file present." And "If no .csslintrc file is present in the current working directory, then only the command line arguments are used." Usually the .csslintrc file is in the root of the project. So my guess is that Atom is exec'ing csslist not in the project root, so csslint isn't finding it's config file... |
Yet another instance of
|
Published in v1.3.0. |
The fix in #79 actually doesn't work for me on atom 1.5.3.
If I change |
Well the "correct" solution is for I'll check on this and verify it, thanks for reporting back! |
OK - I've submitted another PR with @cloos fix On Mon, Feb 15, 2016 at 10:26 AM, Landon Abney [email protected]
|
v1.3.1 published, hopefully this does the trick for you, if not the specs need fixing 😉. |
I think the specs need fixing, since it seems to be ignoring my csslintrc file no matter where I put it. Digging around inside the cli.js wrapper around csslint, I don't see how this will ever work, the version of that file that was installed with linter-csslint doesn't even contain logic to parse json. Is there any workaround to supply rules to csslint? |
Who said anything about JSON @matt328? That would make far too much sense for The raw lines from the file found by As for the current directory where |
It seems there are two formats floating around for the csslintrc file. Many examples are a JSON format, so that's where I got confused. I just now was exploring the |
It's possible those are from one of the many forks of I personally moved to |
Where to set the .csslintrc rules file?
The text was updated successfully, but these errors were encountered: