A Gulp plugin helper that filters files that were fixed by ESLint's fix option, allowing you to write fixed files back to source. Current version 1.0.0, no release cadence. Differentiates from plain gulp-eslint by providing a way to only output files that were actually modified during linting, enabling a streamlined fix pipeline without manual change detection.
npm install gulp-eslint-if-fixedVerified import paths — ran on the pinned version, not inferred.
Demonstrates a Gulp task that lints JavaScript files with ESLint's fix option, formats results, and writes only the fixed files back to the source directory.
Ensure you are using gulp.src() with stream mode; avoid using gulp.lastRun or async functions.
Use gulp.src with {base: '.'} or the same base as expected by eslintIfFixed.Consider using gulp-eslint's built-in 'fix' feature or updating to a more maintained alternative.
Use const eslintIfFixed = require('gulp-eslint-if-fixed');Ensure the plugin is placed after eslint({fix:true}) and not in a branch or after a destructive pipe.