I'm new in Grunt plugin and on the way using CSSLint plugin. I run it ok, but I want to save the errors from console log into file. Can CssLint support that, cos when run csslint on command line (window), if you have many errors or warnning, you can't scroll up to see errors in the beginning. Anybody help me,please ??
If you're fine using the command line, you could pipe it to a file grunt csslint > csslint.log
.
Otherwise, you want to use a formatter.
csslint: {
options: {
formatters: [
{id: 'text', dest: 'report/csslint.log'}
]
}
}
Always check out the documentation