-
Notifications
You must be signed in to change notification settings - Fork 482
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vendor prefixes bug #579
Comments
Turn off the vendor prefix warnings. If you're using autoprefixer, or trust yourself to get your inheritance rules right then you don't need it fussing. |
@replete this is a webkit specific selector, this has nothing to do with autoprefixer or inheritance, please read the whole code so you don't give invalid suggestions. |
puts your toys back in the pram I understand your problem fine. Ignoring the vendor-prefix rule is a pragmatic choice if you are trusting in something that handles prefixes for you automatically. |
The CSS Linter tool is not supposed to save you from writing bad code, I understand my code. My colleges however are worse at writing CSS than I am, so I'm forcing them into good convention until they learn. This does NOT fix the problem I am experiencing with process of a company as a whole. |
It seems like you're requiring the passing of all CSSlint tests before allowing code submissions? It's a great practice of course, but I find CSSlint a bit too flakey for that! You can't even really ignore chunks of CSS causing false-positives. This is a frustration for me too. I have resorted to using CSSlint as a code quality reminder rather than an enforcement of good standards. Anyway, I hope someone can look into this for you. |
@replete So I think the problem is that the element being styled is specific to webkit. It doesn't make sense to warn about supporting other browsers when the selector in question is browser specific. In this example, |
This seems like a reasonable request for a PR. On Mon, May 25, 2015 at 5:05 PM, Phil Ricketts [email protected]
|
Roughly, apply vendor prefix checks only when in a generic (non vendor prefixed) selector. On Mon, May 25, 2015 at 5:15 PM, Nicole Sullivan [email protected]
|
@stubbornella exactly! :) |
Aaron, do you want to submit a PR? On Mon, May 25, 2015 at 5:24 PM, Aaron Reisman [email protected]
|
@stubbornella Sure, I'll try to take a stab at it sometime tomorrow. |
Any fix yet? |
this css line makes this warning trigger.
css lint should be smarter
The text was updated successfully, but these errors were encountered: