TeamCity reporter for lesshint errors.
npm install --save-dev lesshint-teamcity
Use the gulp-lesshint module for gulp to pipe in files to be analysed.
When run in TeamCity the errors will show as failed test results and can therefore fail the build.
var gulp = require('gulp');
var lesshint = require('gulp-lesshint');
gulp.task('default', function () {
gulp.src(['**/*.html'])
.pipe(lesshint())
.pipe(htmlhint.reporter('lesshint-teamcity'));
Errors are grouped by file and then by lesshint linter when displayed in TeamCity Build Log or Tests tab.