{"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,"search_vec":"'2018':11 '4':77 'appli':34 'autofix':36 'combin':20 'compat':72 'config':44 'differenti':47 'elimin':59 'ensur':38 'eslint':4,19,24,35,57,89 'expect':71 'file':31 'fix':58 'format':22,39,62 'gulp':2,6,51,76,84,87 'gulp-pretti':50 'gulp-prettier-eslint':1,86 'integr':55 'issu':73 'javascript':83 'javascript/jsx':30 'key':46 'last':9 'lint':43,63 'low':66 'mainten':67 'modern':75 'newer':80 'output':40 'pipe':13 'pipelin':64 'plain':49 'plugin':7 'prettier':3,18,21,28,52,85,88 'prettier-eslint':17 'prettier/eslint':81 'project':42 'recent':69 'respect':41 'rule':25 'run':27 'separ':61 'step':65 'stream':15,78 'updat':10,70 'v1.1.0':8 'version':82 'vinyl':14","created_at":"2026-04-25T11:21:15.479005+00:00","updated_at":"2026-04-25T11:21:15.479005+00:00","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,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/sorioinc/gulp-prettier-eslint","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/gulp-prettier-eslint","openapi_spec":null,"status_page":null,"smithery":null,"categories":["devops","testing"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-07-24","install_tag":null}}