{"id":20082,"library":"gulp-eslint-new","title":"gulp-eslint-new","description":"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.","status":"active","version":"2.6.2","language":"javascript","source_language":"en","source_url":"https://github.com/origin-1/gulp-eslint-new","tags":["javascript","gulpplugin","eslint","gulp","errors","warnings","check","source","code","typescript"],"install":[{"cmd":"npm install gulp-eslint-new","lang":"bash","label":"npm"},{"cmd":"yarn add gulp-eslint-new","lang":"bash","label":"yarn"},{"cmd":"pnpm add gulp-eslint-new","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Peer dependency — uses ESLint for linting; v8, v9, or v10 supported.","package":"eslint","optional":false}],"imports":[{"note":"Main export is a function; use default import or require directly, not destructured.","wrong":"const { gulpESLintNew } = require('gulp-eslint-new')","symbol":"default (function)","correct":"import gulpESLintNew from 'gulp-eslint-new'"},{"note":"fix() is a method on the imported function, not a separate export.","wrong":"require('gulp-eslint-new').fix","symbol":"fix()","correct":"gulpESLintNew.fix()"},{"note":"format() is a method on the default export, not a subpath export.","wrong":"const format = require('gulp-eslint-new/format')","symbol":"format()","correct":"gulpESLintNew.format()"}],"quickstart":{"code":"const { src } = require('gulp');\nconst gulpESLintNew = require('gulp-eslint-new');\n\nexports.default = () =>\n  src(['scripts/*.js'])\n    .pipe(gulpESLintNew({ fix: true }))\n    .pipe(gulpESLintNew.fix())\n    .pipe(gulpESLintNew.format())\n    .pipe(gulpESLintNew.failAfterError());","lang":"javascript","description":"Shows a complete gulp task: lint, apply fixes, format output, and fail on errors."},"warnings":[{"fix":"Remove the `concurrency` option from the config passed to gulpESLintNew.","message":"The options `concurrency` is no longer allowed in gulp-eslint-new v2.5+.","severity":"deprecated","affected_versions":">=2.5.0"},{"fix":"Use ESLint's own `ESLint.LintResultData` and `ESLint.ResultsMeta` instead.","message":"Types `gulpESLintNew.FormatterContext` and `gulpESLintNew.ResultsMeta` are deprecated.","severity":"deprecated","affected_versions":">=2.5.0"},{"fix":"Update ESLint to >=8.0.0. Refer to ESLint migration guides.","message":"ESLint 6 is not supported; only ESLint 8, 9, and 10.","severity":"breaking","affected_versions":">=2.0.0"},{"fix":"Add `configType: 'flat'` to options, or provide a flat config file.","message":"When using flat config, you must set `configType: 'flat'`.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","problems":[{"fix":"Remove `concurrency` from the options object.","cause":"The `concurrency` option was removed in v2.5.0.","error":"Error: `concurrency` is not a valid option."},{"fix":"Use `const gulpESLintNew = require('gulp-eslint-new');` or `import gulpESLintNew from 'gulp-eslint-new';`.","cause":"Importing gulpESLintNew as a named export instead of default.","error":"TypeError: gulpESLintNew.fix is not a function"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}