🌐
npm
npmjs.com › package › eslint-plugin-prettier
eslint-plugin-prettier - npm
January 14, 2026 - Runs prettier as an eslint rule. Latest version: 5.5.5, last published: 2 months ago. Start using eslint-plugin-prettier in your project by running `npm i eslint-plugin-prettier`. There are 8712 other projects in the npm registry using eslint-plugin-prettier.
      » npm install eslint-plugin-prettier
    
Published   Jan 14, 2026
Version   5.5.5
Author   Teddy Katz
🌐
npm
npmjs.com › search
eslint-plugin-prettier - npm search
``` "eslint": "^8.9", "eslint-config-prettier": "^8.3", "eslint-formatter-codeframe": "^7.32", "eslint-plugin-babel": "^5.3", "eslint-plugin-import": "^2.25", "eslint-plugin-jsx-a11y": "^6.5", "eslint-plugin-prettier": "^4.0", "eslint-plugin-react": "^7.2
Discussions

Malware published in eslint-config-prettier and other packages
That's pretty awful More on reddit.com
🌐 r/webdev
28
385
July 21, 2025
How do you guys add prettier to vite reactjs project with typescript? (eslint v9)
The docs are here: https://prettier.io/docs/en/install.html More on reddit.com
🌐 r/reactjs
8
4
October 15, 2024
Cannot for the life of me make a react project that uses eslint, but doesn't use prettier
Looks like you haven’t installed the prettier eslint module. To install: npm install --save-dev prettier-eslint Try then? Also. read the docs for disabling prettier-eslint module: https://github.com/prettier/prettier-eslint/blob/master/README.md#eslint-disable-line More on reddit.com
🌐 r/vscode
15
11
December 10, 2019
Why use prettier if ESLint can format?
Because Prettier generally does a better job of formatting than ESLint. This is for three reasons: It's really fast, particularly in comparison to ESLint. Prettier is designed to format documents and that's it, which means it can be a lot simpler than ESLint, at least architecturally, especially as there's relatively little in the way of plugins. So if you just need to format your code quickly in one chunk, Prettier is the way to go. Prettier is already preconfigured, so it's also usually quicker to get started with. ESLint has some default formatting rules IIRC, but relatively minimal ones. To ensure every detail is formatted the same way, you need to put a lot of effort into configuring ESLint, which most people don't really want to do. Related: Conceptually, Prettier formats holistically, which is to say, it takes a whole document and applies its formatting to every single syntax node - generally, this means that you get very close to having exactly one valid output, no matter how the input file is formatted. ESLint, on the other hand, not only requires each formatting rule to be configured individually, but also applies them generally individually, so it's easier to have cases where you can get inconsistent behaviour depending on the original formatting of the file. More on reddit.com
🌐 r/node
55
88
July 27, 2022
🌐
GitHub
github.com › prettier › eslint-config-prettier
GitHub - prettier/eslint-config-prettier: Turns off all rules that are unnecessary or might conflict with Prettier. · GitHub
It runs several other npm scripts: "test:prettier" checks that Prettier has been run on all files. "test:eslint" makes sure that the files in test-lint/ pass ESLint when the exclusions from eslint-config-prettier are used.
Starred by 5.9K users
Forked by 262 users
Languages   JavaScript
🌐
Stepsecurity
stepsecurity.io › blog › supply-chain-security-alert-eslint-config-prettier-package-shows-signs-of-compromise
Supply Chain Security Alert: eslint-config-prettier Package Shows Signs of Compromise - StepSecurity
July 18, 2025 - We are currently investigating ... This widely-used package, which helps developers maintain consistent code formatting by turning off ESLint rules that conflict with Prettier, appears to have had multiple ....
🌐
Prettier
prettier.io › docs › install
Install · Prettier
It turns off all ESLint rules that are unnecessary or might conflict with Prettier.
🌐
npm
npmjs.com › package › eslint-plugin-prettier-vue
eslint-plugin-prettier-vue - npm
August 25, 2023 - Includes all functions of eslint-plugin-prettier. Provides the ability for prettier to process custom blocks of Vue SFCs. Options to disable prettier for <template>, <script> or <style> blocks of Vue SFCs.
      » npm install eslint-plugin-prettier-vue
    
Published   Aug 25, 2023
Version   5.0.0
Author   meteorlxy
🌐
Medium
medium.com › @robinviktorsson › setting-up-eslint-and-prettier-for-a-typescript-project-aa2434417b8f
Setting Up ESLint and Prettier for a TypeScript Project | by Robin Viktorsson | Medium
March 10, 2025 - npm install --save-dev eslint @typescript-eslint/parser @typescript-eslint/eslint-plugin prettier eslint-plugin-prettier eslint-config-prettier
Find elsewhere
🌐
Snyk
snyk.io › blog › maintainers-of-eslint-prettier-plugin-attacked-via-npm-supply-chain-malware
Maintainers of ESLint Prettier Plugin Attacked via npm Supply Chain Malware | Snyk
July 22, 2025 - This is indeed unfolded and the repercussions of the eslint-config-prettier malware, even if haven been published for a short period of time have already impacted other maintainers - those of the npm package is. As such, the · npm package is of versions 3.3.1 and 5.0.0 has been flagged with malware.
🌐
Reddit
reddit.com › r/webdev › malware published in eslint-config-prettier and other packages
r/webdev on Reddit: Malware published in eslint-config-prettier and other packages
July 21, 2025 -

From the tweet:

cc @geteslint @PrettierCode @PrettierESLint

Attention!!!

I was tricked by a phishing email and a new npm token was added and leaked then some popular packages I'm maintaining were released with malicious software, I've deleted the leaked token and marked all affected bad versions as deprecated and released new versions.

All affected packages and versions are:

  • eslint-config-prettier

    • 8.10.1

    • 9.1.1

    • 10.1.6

    • 10.1.7

  • eslint-plugin-prettier:

    • 4.2.2

    • 4.2.3

  • snyckit:

    • 0.11.9

  • @pkgr/core:

    • 0.2.8

  • napi-postinstall:

    • 0.3.1

–--

Reminder: if you are publishing npm packages, go to https://www.npmjs.com/settings/<YOUR_USERNAME>/tfa/list and change your 2FA method from Authenticator App to Security Key and create a passkey using biometrics. It would make it impossible to mistakenly enter the OTP into a fake scam site.

🌐
Oxidation Compiler
oxc.rs › docs › guide › usage › formatter.html
Oxfmt
Oxfmt includes built-in features that typically require external Prettier plugins:
🌐
GitHub
github.com › prettier › eslint-plugin-prettier
GitHub - prettier/eslint-plugin-prettier: ESLint plugin for Prettier formatting · GitHub
npm install --save-dev eslint-plugin-prettier eslint-config-prettier npm install --save-dev --save-exact prettier
Starred by 3.6K users
Forked by 212 users
Languages   JavaScript
🌐
Prettier
prettier.io › docs › integrating-with-linters.html
Integrating with Linters · Prettier
Finally, we have tools that run prettier and then immediately lint files by running, for example, eslint --fix on them.
🌐
DevDocs
devdocs.io
DevDocs API Documentation
Fast, offline, and free documentation browser for developers. Search 100+ docs in one web app: HTML, CSS, JavaScript, PHP, Ruby, Python, Go, C, C++…
🌐
Cathalmacdonnacha
cathalmacdonnacha.com › setting-up-eslint-prettier-in-vitejs
Setting up ESLint & Prettier in ViteJS
November 27, 2024 - eslint-config-prettier: An ESLint configuration which disables the formatting rules in ESLint that Prettier is going to be responsible for handling, hence avoiding any clashes. eslint-plugin-import: Tells ESLint how to resolve imports. ...
🌐
ESLint
eslint.org › docs › latest
Documentation - ESLint - Pluggable JavaScript Linter
Intended for people who wish to extend ESLint. Contains information about creating custom rules, configurations, plugins, and formatters.
🌐
Reddit
reddit.com › r/learnprogramming › run the eslint-config-prettier plugin on all files...
r/learnprogramming on Reddit: Run the eslint-config-prettier plugin on all files...
April 4, 2023 - eslint-config-prettier Compromised: How npm Package with 30 Million Downloads Spread Malware · r/programming • · r/programming · Computer Programming · Weekly visitors · Weekly contributions · safedep · upvotes · · comments · Update: ESLint plugin to catch unnecessary useEffects — now with more rules, better coverage, better feedback ·
🌐
Silvenon
silvenon.com › blog › integrating-and-enforcing-prettier-and-eslint
Integrating and Enforcing Prettier & ESLint
March 25, 2019 - Prettier by default adds semicolons, uh-oh! Luckily, eslint-config-prettier saves our asses yet again by including a CLI utility that analyzes ESLint configuration and fails if there are conflicting rules. We can create a npm script in package.json:
🌐
React
react.dev › learn › editor-setup
Editor Setup – React
We recommend disabling all formatting rules in your ESLint preset using eslint-config-prettier so that ESLint is only used for catching logical mistakes.