A gulp plugin to lint code with ESLint 8, 9, and 10. Current stable version 2.6.2, released March 2026, supports ESLint 8–10, ships TypeScript types, and is actively maintained. Unlike the original gulp-eslint (ESLint 6 only), this fork provides compatibility with modern ESLint flat config, bulk suppressions, and both CJS and ESM imports. Key differentiators: automatic ESLint installation fallback, full TypeScript support, and a widely compatible API for migration from gulp-eslint.
npm install gulp-eslint-newVerified import paths — ran on the pinned version, not inferred.
Shows a complete gulp task: lint, apply fixes, format output, and fail on errors.
Remove the `concurrency` option from the config passed to gulpESLintNew.
Use ESLint's own `ESLint.LintResultData` and `ESLint.ResultsMeta` instead.
Update ESLint to >=8.0.0. Refer to ESLint migration guides.
Add `configType: 'flat'` to options, or provide a flat config file.
Remove `concurrency` from the options object.
Use `const gulpESLintNew = require('gulp-eslint-new');` or `import gulpESLintNew from 'gulp-eslint-new';`.