Search code examples
rhinocsslint

CSSlint 'overqualified' error with unknown tokens ''


For some reason when I run Css lint with Rhino I get the following errors:

Csslint error

I'm working with:

My elements look like this:

.body {
}

.testelement {

}

.loadingIndicator {
  width: 16px;
  height: 16px;
  background-image: url('/images/loadingIndicator.gif');
}

It seems some kind of encoding issue, but I can't seem to figure out what the problem is.


Solution

  • I seem to have found the problem myself.

    In Visual Studio 2012 the files are saved as UTF-8. Apparently CSS lint can't handle this encoding. UTF-8 without BOM seems to work without problems though.