Registry / devops / gulp-prettier-eslint

gulp-prettier-eslint

JSON →
library1.1.0jsnpmunverified

A Gulp plugin (v1.1.0, last updated 2018) that pipes vinyl streams through prettier-eslint, combining Prettier formatting with ESLint rules. It runs prettier on JavaScript/JSX files and then applies ESLint autofix to ensure formatted output respects project lint config. Its key differentiator from plain gulp-prettier is the integration of eslint --fix, eliminating a separate formatting+linting pipeline step. Low maintenance, no recent updates, expect compatibility issues with modern Gulp 4+ streams or newer prettier/eslint versions.

npm install gulp-prettier-eslint
INSTALL
IMPORT
SIG · GULP-PRETTIER-ESLI
G
gulp-prettier-eslint
devopsjavascriptv1.1.0
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
const prettierEslint = require('gulp-prettier-eslint');
import prettierEslint from 'gulp-prettier-eslint';
Package does not ship ESM; use CommonJS require() or a dynamic import().
default
import prettierEslint from 'gulp-prettier-eslint'; (with bundler support)
If using bundler with ESM interop, default import may work; but native ESM require Node >=13 and package not providing exports map.
default
const { default: prettierEslint } = await import('gulp-prettier-eslint');
const prettierEslint = await import('gulp-prettier-eslint');
For dynamic import in ESM, destructure default because the module uses module.exports.

Pipes JavaScript source through prettier-eslint using Gulp task.

const gulp = require('gulp'); const prettierEslint = require('gulp-prettier-eslint'); gulp.task('format', () => { return gulp.src('src/**/*.js') .pipe(prettierEslint()) .pipe(gulp.dest('dist')); });
Debug
Known issues
deprecatedPackage is no longer maintained; last release 2018.
fix
Migrate to modern alternative: gulp-prettier with separate eslint task or use npx prettier-eslint directly.
affects: >=1.0.0
breakingNot compatible with Gulp 4 series API (gulp.series/gulp.parallel). Requires Gulp 3.
fix
Use Gulp 3.x or adapt code for Gulp 4 by wrapping in series.
affects: >=1.0.0
gotchaPlugin does not forward options to prettier-eslint; all default options used.
fix
Use alternatives or patch source if custom formatting needed.
affects: >=0.0.0
Errors
Common errors & fixes
Error: Cannot find module 'gulp-prettier-eslint'
Package not installed or misspelled.
fix
npm install gulp-prettier-eslint --save-dev
TypeError: gulp.src(...).pipe is not a function
Using Gulp 4 without returning stream.
fix
Return the stream in task: return gulp.src(...).pipe(...)
Upgrade
Version history
1.1.0latest on npm
Audit
Dependencies
prettier-eslintrequiredcore formatting+linting engine
Agent activity
4 hits · last 30 days
node
4
Resources
gulp-prettier-eslint — npm install gulp-prettier-eslint · libregistry