{"id":20086,"library":"gulp-prettier-eslint","title":"gulp-prettier-eslint","description":"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.","status":"deprecated","version":"1.1.0","language":"javascript","source_language":"en","source_url":"https://github.com/sorioinc/gulp-prettier-eslint","tags":["javascript","gulp","prettier","gulp-prettier-eslint"],"install":[{"cmd":"npm install gulp-prettier-eslint","lang":"bash","label":"npm"},{"cmd":"yarn add gulp-prettier-eslint","lang":"bash","label":"yarn"},{"cmd":"pnpm add gulp-prettier-eslint","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"core formatting+linting engine","package":"prettier-eslint","optional":false}],"imports":[{"note":"Package does not ship ESM; use CommonJS require() or a dynamic import().","wrong":"import prettierEslint from 'gulp-prettier-eslint';","symbol":"default","correct":"const prettierEslint = require('gulp-prettier-eslint');"},{"note":"If using bundler with ESM interop, default import may work; but native ESM require Node >=13 and package not providing exports map.","wrong":"","symbol":"default","correct":"import prettierEslint from 'gulp-prettier-eslint'; (with bundler support)"},{"note":"For dynamic import in ESM, destructure default because the module uses module.exports.","wrong":"const prettierEslint = await import('gulp-prettier-eslint');","symbol":"default","correct":"const { default: prettierEslint } = await import('gulp-prettier-eslint');"}],"quickstart":{"code":"const gulp = require('gulp');\nconst prettierEslint = require('gulp-prettier-eslint');\n\ngulp.task('format', () => {\n  return gulp.src('src/**/*.js')\n    .pipe(prettierEslint())\n    .pipe(gulp.dest('dist'));\n});","lang":"javascript","description":"Pipes JavaScript source through prettier-eslint using Gulp task."},"warnings":[{"fix":"Migrate to modern alternative: gulp-prettier with separate eslint task or use npx prettier-eslint directly.","message":"Package is no longer maintained; last release 2018.","severity":"deprecated","affected_versions":">=1.0.0"},{"fix":"Use Gulp 3.x or adapt code for Gulp 4 by wrapping in series.","message":"Not compatible with Gulp 4 series API (gulp.series/gulp.parallel). Requires Gulp 3.","severity":"breaking","affected_versions":">=1.0.0"},{"fix":"Use alternatives or patch source if custom formatting needed.","message":"Plugin does not forward options to prettier-eslint; all default options used.","severity":"gotcha","affected_versions":">=0.0.0"}],"env_vars":null,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","problems":[{"fix":"npm install gulp-prettier-eslint --save-dev","cause":"Package not installed or misspelled.","error":"Error: Cannot find module 'gulp-prettier-eslint'"},{"fix":"Return the stream in task: return gulp.src(...).pipe(...)","cause":"Using Gulp 4 without returning stream.","error":"TypeError: gulp.src(...).pipe is not a function"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}