A lesshint's reporter using the same lint-xml format that CSSLint. Can be used by Jenkins.
Run the following command from the command line (add -g to install globally):
npm install lesshint-lint-xml-reporter
Use lesshint with -r
or --reporter
option:
lesshint --reporter lesshint-lint-xml-reporter file.less
lesshint --reporter /path/to/lesshint-lint-xml-reporter/reporter.js file.less