1.0.2 • Published 7 years ago
lesshint-teamcity v1.0.2
lesshint-teamcity
TeamCity reporter for lesshint errors.
Install
npm install --save-dev lesshint-teamcity
Usage
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.