-
Notifications
You must be signed in to change notification settings - Fork 8
.csslintrc support #49
Comments
+1 I can't configure the rules at all |
+1 |
It should support it, since we are simply calling |
Hence the "as simple as specifying an environment" 😛 I don't have time to test this right at the moment though. |
Finally had some time to implement and test this. As a note: On my Windows installation with
So keeping that in mind, let me know if you have any further issues 😄 |
This does not work either. Atom 1.0.19, OS 10.1.1 linter css 1.1.0 Following the above sugggestion I tried creating a
These errors still are displayed. |
|
@Arcanemagus how exactly does this work? I have .csslintrc in dir in which my css is, the contents of .csslintrc are literally (as your post above seems the be the only source of this info) "--ignore=ids,font-sizes,unique-headings", but it doesn't seem to work, can you help? thx |
The only documentation that I know of is this section of the CSSLint wiki. Does And I would highly recommend you switch to a CSS linter that actually works properly like stylelint. CSSLint was completely dead for almost a year, it's shown a few signs of life lately but the main repo is still unusable, and the entire design of the linter is just plain problematic... |
@Arcanemagus csslint does respect it, is it relevant when you distribute your own fork (that's what I understood from other threads) that's bundled with linter-csslint? stylelint IS NOT usable, because of AtomLinter/linter-stylelint#176 which renders it completely unusable; I do not plan on using any linter outside of editor, that's like .. you know.. going backwards in time (and even then things like Turbo Pascal were more usable); I'm basicaly looking for something that'll bring me "you forgot semicolon here" functionality |
Any error like that is an error in the data the linter is returning, if you have a file+configuration for As this plugin is simply executing (its version of) |
@Arcanemagus that error has already been reported (I've read about the issue, it seems like they're clueless, since there are more rules that trigger it and they've already closed some issues regarding it - for me that's sign they don't care); not to mention there's some problem on their side preventing me from commenting on that issue.. (= i have zero hopes or interest in dealing with it) |
@svatem1 That particular issue you linked is fixed in the source, and as soon as they release an update including it then Every one of the "Column start (x) greater than line length (y)" issues is a unique case as there are a myriad of different possible causes. I don't know of anything that would be preventing you from commenting, unless you were trying on one of the locked ones since I will occasionally lock those threads if people keep trying to bring up new (different!) issues on them. As for this particular linter, I'm sorry it's not working ideally for you, but as there is nobody interested in working on it right now that won't be changing any time soon 😕. |
@Arcanemagus i can't know that; i'm getting this error on something that looks like newline problem from AtomLinter/linter-stylelint#176 as well as case problem from closed AtomLinter/linter-stylelint#166 . Neither of those issues are mentioning patch anywhere.. I can comment now (I guess, preview works), for some reason comment preview as well as ability to comment didn't work yesterday & day before. I did not try to comment on locked thread, why would I comment on locked thread, when there's exactly the same problem as I'm experiencing opened and I'm even linking it here.. No prob, it's a matter of finding the acceptable local maximum for my needs quickly rather than trying to fix the world, just imagine I'd try to fix every bug I find in products I use, now that'd be completely ridiculous, wouldn't it. I try to help where ppl are interested in it (= do not close thread about bugs that are in effect unless those bugs are solved) |
AtomLinter/linter-stylelint#176 is fixed (commented there linking to it), AtomLinter/linter-stylelint#166 is still pending. I generally close issues that aren't related to the project they were posted on, since they have nothing to do with it. The wrong column error in AtomLinter/linter-stylelint#166 you are so focused on was actually fixed a while back, the recent comments there are about a completely separate issue. You would be surprised how many people complaining they can't comment on something are trying to comment on a locked thread... |
closed issues - without some concluding message, just try to imagine how usefull it is for somebody who's trying to find out what the current state of the things is.. color-hex-case is problematic fyi, if you care |
It doesn't look like there is an open issue for it, so I'm sure the |
I'm sorry, I've just looked into 1148, 1100 and neither seem like good candidate for "this same error but with color-hex-case", linter-stylelint's erromsg has nothing to do with stylelint unfortunately; i'm not going to put more time into it, if you have some insight, please do so, if you care |
If you can upload a file and a stylelint configuration that show the error I can investigate the rest, as I said before. |
no explicit configuration, just checked "use standard" (idk what it does behind the scenes, it definitely does not npm install that package) in plugin's config ui |
I'm trying to disable some rules, but the .csslintrc isn't read. I've created it at the base level of the project folder, the same where I put .jshintrc which works perfectly. Does the package support .csslintrc?
The text was updated successfully, but these errors were encountered: