Very useful, thanks Mads! Direct warning suppression (the XML file is a bit difficult to discover, but very good TFS-friendly) and help links would be great.
Hello!
There is the following error when I try to use it:
---------------------------
Microsoft Visual Studio
---------------------------
The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
---------------------------
the installation seemed to good, (I have un-installed and installed again, but nothing changed)
Thanks, bts
How can newer CSS items such as box-shadow be added?
Currently the usage of newer CSS statements gives an error.
Even the newest IE (V10) knows many newer css items without prefix.
Is there any way to customize the rule set or supress warnings as I can do with Code Analysis? I would not like to see warnings of overqualification. Thank you.
This means that when you open a website from IIS Express (could be http://localhost:1234), then there is a bug in CSSCop that tries to resolve a file name based on the URL of the project. It has been fixed already, but I'm waiting a few days to release the update.
Thanks
Thanks a lot. It works now.
Two things:
Is there a place where all the error messages are explained?
For example, I get "You have 2 h2s, 2 h3s defined in this stylesheet." Why is this bad?
Is it possible to enable, disable some errors?
This looks like a great tool. I've passed a file through the csslint.net website which gave great feedback on issues I wasn't aware of. Having this available via VS would be a real bonus. I'm running VS 2010 on XP SP3 and I cannot see why such a simple tool (in terms of requirements) needs IE 9. Any chance the IE 9 dependency could be removed.
The reason for IE9 is that CSSCop uses the IE engine to execute the official JavaScript from csslint.net. Right now I'm investigating why an error is thrown when you only have IE8 installed. Hopefully, it's a minor thing that can be fixed so the IE9 requirement becomes an IE8 requirement.