Registry / devops / gulp-eslint-new

gulp-eslint-new

JSON →
library2.6.2jsnpmunverified

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-new
INSTALL
IMPORT
SIG · GULP-ESLINT-NEW
G
gulp-eslint-new
devopsjavascriptv2.6.2
Install
Import
Disk
Pass rate
0/ 6
Env Coverage0 / 6
glibc
1822
musl
1822
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18226 runs
build_error
glibc
node 18226 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

default (function)
import gulpESLintNew from 'gulp-eslint-new'
const { gulpESLintNew } = require('gulp-eslint-new')
Main export is a function; use default import or require directly, not destructured.
fix()
gulpESLintNew.fix()
require('gulp-eslint-new').fix
fix() is a method on the imported function, not a separate export.
format()
gulpESLintNew.format()
const format = require('gulp-eslint-new/format')
format() is a method on the default export, not a subpath export.

Shows a complete gulp task: lint, apply fixes, format output, and fail on errors.

const { src } = require('gulp'); const gulpESLintNew = require('gulp-eslint-new'); exports.default = () => src(['scripts/*.js']) .pipe(gulpESLintNew({ fix: true })) .pipe(gulpESLintNew.fix()) .pipe(gulpESLintNew.format()) .pipe(gulpESLintNew.failAfterError());
Debug
Known issues
deprecatedThe options `concurrency` is no longer allowed in gulp-eslint-new v2.5+.
fix
Remove the `concurrency` option from the config passed to gulpESLintNew.
affects: >=2.5.0
deprecatedTypes `gulpESLintNew.FormatterContext` and `gulpESLintNew.ResultsMeta` are deprecated.
fix
Use ESLint's own `ESLint.LintResultData` and `ESLint.ResultsMeta` instead.
affects: >=2.5.0
breakingESLint 6 is not supported; only ESLint 8, 9, and 10.
fix
Update ESLint to >=8.0.0. Refer to ESLint migration guides.
affects: >=2.0.0
gotchaWhen using flat config, you must set `configType: 'flat'`.
fix
Add `configType: 'flat'` to options, or provide a flat config file.
affects: all
Errors
Common errors & fixes
Error: `concurrency` is not a valid option.
The `concurrency` option was removed in v2.5.0.
fix
Remove `concurrency` from the options object.
TypeError: gulpESLintNew.fix is not a function
Importing gulpESLintNew as a named export instead of default.
fix
Use `const gulpESLintNew = require('gulp-eslint-new');` or `import gulpESLintNew from 'gulp-eslint-new';`.
Upgrade
Version history
2.6.2latest on npm
Audit
Dependencies
eslintrequiredPeer dependency — uses ESLint for linting; v8, v9, or v10 supported.
Agent activity
4 hits · last 30 days
node
4
Resources
gulp-eslint-new — npm install gulp-eslint-new · libregistry