How to use the gulp-jsonlint.reporter function in gulp-jsonlint

To help you get started, we’ve selected a few gulp-jsonlint examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github gasolin / webbymouse / gulpfile.js View on Github external
gulp.task('jsonlint', function() {
  return gulp.src([
      'package.json',
      'bower.json',
      options.param.src + '/manifest.webapp',
      options.param.src + '/manifest.json',
      options.param.src + '/**/*.json'
    ])
    .pipe(jsonlint())
    .pipe(jsonlint.reporter());
});
github idleberg / atom-icon-fonts / gulpfile.js View on Github external
gulp.task('lint:json', (done) => {
    gulp.src(jsonFiles)
        .pipe(debug({title: 'jsonlint:'}))
        .pipe(jsonlint())
        .pipe(jsonlint.failAfterError())
        .pipe(jsonlint.reporter());
    done();
});
github idleberg / sublime-atomizr / gulpfile.js View on Github external
gulp.task('lint:json', gulp.series(function(done) {
  gulp.src(jsonFiles)
    .pipe(debug({title: 'lint:json'}))
    .pipe(jsonLint())
    .pipe(jsonLint.failAfterError())
    .pipe(jsonLint.reporter());
  done();
}));
github idleberg / node-makensis / gulpfile.js View on Github external
gulp.task('lint:json', gulp.series( (done) => {
  gulp.src(jsonFiles)
    .pipe(debug({title: 'json-lint'}))
    .pipe(jsonlint())
    .pipe(jsonlint.failAfterError())
    .pipe(jsonlint.reporter());
  done();
}));
github ryanburgess / sassysass / gulpfile.js View on Github external
gulp.task('jsonlint', function() {
  return gulp.src(['./templates/json/*.json', './*.json'])
    .pipe(jsonlint())
    .pipe(jsonlint.reporter(jshintStyle));
});
github ryanburgess / gulp-sassyclean / gulpfile.js View on Github external
gulp.task('jsonlint', function() {
  return gulp.src(['./*.json'])
    .pipe(jsonlint())
    .pipe(jsonlint.reporter(jshintStyle));
});
github samayo / country-json / gulpfile.js View on Github external
gulp.task('lint', function () {
  return gulp.src('./src/*.json')
    .pipe(jsonlint())
    .pipe(jsonlint.reporter(failReporter));
});

gulp-jsonlint

A jsonlint plugin for Gulp

MIT
Latest version published 5 years ago

Package Health Score

41 / 100
Full package analysis

Popular gulp-jsonlint functions