Skip to content

lukeapage/gulp-eslint-if-fixed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gulp-eslint-if-fixed

A simple plugin to avoid having a isFixed function as in the gulp-eslint fix example.

installation

npm i gulp-eslint-if-fixed --save-dev

usage

var eslint = require('gulp-eslint');
var eslintIfFixed = require('gulp-eslint-if-fixed');

gulp.task('lint-fix', function() {
  return gulp.src('src/*.js')
    .pipe(eslint({fix:true}))
    .pipe(eslint.format())
    .pipe(eslintIfFixed('src'));
});

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published