htmlhint-teamcity
v1.0.4
Published
HtmlHint TeamCity Reporter which group by files and HtmlHint Rule using TeamCity Test Suite
Downloads
5
Readme
HTMLHint-TeamCity
TeamCity reporter for HTMLHint errors.
Install
npm install --save-dev htmlhint-teamcity
Usage
Use the gulp-htmlhint 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 htmlhint = require('gulp-htmlhint');
gulp.task('default', function () {
gulp.src(['**/*.html'])
.pipe(htmlhint('.htmlhintrc'))
.pipe(htmlhint.reporter('htmlhint-teamcity'));
Errors are grouped by file and then by HTMLHint rule when displayed in TeamCity Build Log or Tests tab.