Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gulp swallowing eslint output if there are too many files #267

Open
Yuriy-Svetlov opened this issue Sep 18, 2021 · 0 comments
Open

Gulp swallowing eslint output if there are too many files #267

Yuriy-Svetlov opened this issue Sep 18, 2021 · 0 comments

Comments

@Yuriy-Svetlov
Copy link

Yuriy-Svetlov commented Sep 18, 2021

Hello! Thank you for your plugin!)

I have problem. When there are many files, they are not displayed.

gulp.task(JS, async function () {
    process.env.NODE_ENV = 'production';
    //process.env.NODE_ENV = 'development';
    return gulp.src(JS_SRC)
      .pipe(plumber())  
      .pipe(bro({
            transform: [
              babelify.configure({  presets: ['@babel/env'] }),
              ['browserify-postcss', {  plugin: ['postcss-import'] }],
              ['loose-envify'],
              ['blissify']
            ]
          })
      )
      .pipe(gulp.dest(JS_DEST));
});

gulp.task(ESLINT, function () {
  return gulp.src(ESLINT_SRC) 
    .pipe(plumber())  
    .pipe(eslint())
    .pipe(eslint.format())
    .pipe(eslint.failAfterError()); 
});

gulp.task('w', gulp.series('watch', HTML__INDEX, HTML__APP, ESLINT, JS));
  • If using function without async then it works
  • If using formatEach then it works with function async

// Additional information
https://stackoverflow.com/questions/38825294/gulp-eslint-not-throwing-any-error-on-console

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant