htmlhint-teamcity

1.0.4 • Public • Published

HTMLHint-TeamCity

NPM version MIT License Dependency Status devDependency Status GitHub issues

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.

Package Sidebar

Install

npm i htmlhint-teamcity

Weekly Downloads

2

Version

1.0.4

License

MIT

Last publish

Collaborators

  • sicoe