Fork of prettier-eslint-webpack-plugin (v1.1.4, last updated 2017) that integrates prettier-eslint formatting into Webpack 2 build pipeline as a plugin. This package is a legacy fork with no active maintenance; it runs prettier and eslint on files after compilation. Differs from alternatives by being a Webpack plugin rather than a loader or CLI tool. Dependencies include prettier, eslint, and prettier-eslint. Not recommended for new projects; use eslint-plugin-prettier or prettier-eslint-cli instead.
npm install prettier-eslint-pluginVerified import paths — ran on the pinned version, not inferred.
Configures the PrettierEslintPlugin in a Webpack config with eslintConfig from file and custom prettier options.
Switch to eslint-plugin-prettier or prettier-eslint-cli.
Ensure encoding matches your project's file encoding; test on a copy first.
Use JSON.parse(config) or require the .eslintrc file directly.
Always pass extensions as an array, e.g., ['.js', '.jsx'].
Use import { PrettierEslintPlugin } from 'prettier-eslint-plugin'.npm install prettier-eslint --save-dev
Upgrade to eslint-plugin-prettier or use a different plugin.