You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use this task definition, I get absolutely no fixes.
Is it documented/normal?
What would be the reason?
I think I could cook up a quick pull request to solve the issue, but I would like to understand first
gulp.task('eslint',()=>{// ESLint ignores files with "node_modules" paths. // So, it's best to have gulp ignore the directory as well. // Also, Be sure to return the stream from the task; // Otherwise, the task may end before the stream has finished. returngulp.src('./src/*.js')// eslint() attaches the lint output to the "eslint" property // of the file object so it can be used by other modules. .pipe(eslint({fix: true,quiet: true}))// eslint.format() outputs the lint results to the console. // Alternatively use eslint.formatEach() (see Docs). .pipe(eslint.format())// To have the process exit with an error code (1) on // lint error, return the stream and pipe to failAfterError last. .pipe(gulp.dest('./src/'));});
The text was updated successfully, but these errors were encountered:
When I use this task definition, I get absolutely no fixes.
Is it documented/normal?
What would be the reason?
I think I could cook up a quick pull request to solve the issue, but I would like to understand first
The text was updated successfully, but these errors were encountered: