JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1010
  • Score
    100M100P100Q115326F
  • License MIT

A JSHint reporter to be used with gulp-jshint that will provide a jslint.xml, that can be used by CI tools such as jenkins

Package Exports

  • gulp-jshint-xml-file-reporter

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (gulp-jshint-xml-file-reporter) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Gulp JSHint XML File Reporter

Build Status

A JSHint reporter to be used by gulp-jshint that will provide a jslint.xml file that can be used by CI tools as jenkins.

Install

npm install gulp-jshint-xml-file-reporter --save-dev

Usage

var gulp=require('gulp'),
    jshint=require('gulp-jshint');

gulp.task('lint', function () {
    return gulp.src('./**/.js')
        .pipe(jshint())
        .pipe(jshint.reporter('gulp-jshint-xml-file-reporter', {
            filePath: './jshint.xml'
        }));
});

Options

Plugin options:

Type: filePath Default: 'jshint.xml'

Inspired by: