🌐
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
This lets you use your favorite shareable config without letting its stylistic choices get in the way when using Prettier. Note that this config only turns rules off, so it only makes sense using it together with some other config. ... Add eslint-config-prettier to your ESLint configuration – either to eslintrc or to eslint.config.js (flat config).
Starred by 5.9K users
Forked by 262 users
Languages   JavaScript
🌐
ESLint
eslint.org › docs › latest › use › configure › configuration-files
Configuration Files - ESLint - Pluggable JavaScript Linter
Selecting a version will take you to the chosen version of the ESLint docs. Version ... Results will be shown and updated as you type. ... This page explains how to use flat config files.
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
eslint-config-prettier npm package compromised
Good reminder to use a password manager as well (as it would also catch the 'npnjs' typo squatted domain too) · Similar incident happened to the HIBP guy who mentioned ignoring the password manager safeguards due to being half asleep while on the plane More on news.ycombinator.com
🌐 news.ycombinator.com
11
74
July 28, 2025
🌐
Prettier
prettier.io › docs › install
Install · Prettier
If you use ESLint, install eslint-config-prettier to make ESLint and Prettier play nice with each other. It turns off all ESLint rules that are unnecessary or might conflict with Prettier.
🌐
Medium
medium.com › @contactmanoharbatra › eslint-and-prettier-configuration-f0259ebeb58b
Eslint and Prettier configuration | by Manohar Batra | Medium
September 10, 2025 - Eslint and Prettier configuration YouTube: https://www.youtube.com/@RoadToCodeWithMB 🔧 Step 1: Install ESLint and Plugins In your Vite React project root, run: (sometimes it comes by default when …
🌐
DEV Community
dev.to › viniciuskneves › prettier-eslint-and-typescript-491j
Prettier, ESLint and Typescript - DEV Community
September 20, 2021 - Prettier provides two packages that integrate with ESLint. eslint-config-prettier: turns off rules that might conflict with Prettier.
🌐
npm
npmjs.com › package › eslint-config-prettier
eslint-config-prettier - npm
July 18, 2025 - This lets you use your favorite shareable config without letting its stylistic choices get in the way when using Prettier. Note that this config only turns rules off, so it only makes sense using it together with some other config. ... Add eslint-config-prettier to your ESLint configuration – either to eslintrc or to eslint.config.js (flat config).
      » npm install eslint-config-prettier
    
Published   Jul 18, 2025
Version   10.1.8
Author   Simon Lydell
🌐
npm
npmjs.com › package › eslint-plugin-prettier
eslint-plugin-prettier - npm
January 14, 2026 - Disable the arrow-body-style and prefer-arrow-callback rules which are problematic with this plugin - see the below for why. Enable the eslint-config-prettier config which will turn off ESLint rules that conflict with Prettier.
      » npm install eslint-plugin-prettier
    
Published   Jan 14, 2026
Version   5.5.5
Author   Teddy Katz
Find elsewhere
🌐
GitHub
github.com › prettier › eslint-plugin-prettier
GitHub - prettier/eslint-plugin-prettier: ESLint plugin for Prettier formatting · GitHub
This plugin works best if you disable all other ESLint rules relating to code formatting, and only enable rules that detect potential bugs. If another active ESLint rule disagrees with prettier about how code should be formatted, it will be impossible to avoid lint errors. Our recommended configuration automatically enables eslint-config-prettier to disable all formatting-related ESLint rules.
Starred by 3.6K users
Forked by 212 users
Languages   JavaScript
🌐
Prettier
prettier.io › docs › configuration
Configuration File · Prettier
The configuration file will be resolved starting from the location of the file being formatted, and searching up the file tree until a config file is (or isn’t) found.
🌐
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.

🌐
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.
🌐
LogRocket
blog.logrocket.com › home › using prettier and eslint for javascript formatting
Using Prettier and ESLint for JavaScript formatting - LogRocket Blog
October 22, 2024 - In a dedicated ESLint configuration file, you can manage the rules your project uses and disable any you don’t wish to use. ESLint allows rules to be set as errors or warnings and some errors can be automatically fixed. While ESLint can handle some formatting tasks, Prettier offers several advantages that make it a valuable addition to the development workflow.
🌐
Hacker News
news.ycombinator.com › item
eslint-config-prettier npm package compromised | Hacker News
July 28, 2025 - Good reminder to use a password manager as well (as it would also catch the 'npnjs' typo squatted domain too) · Similar incident happened to the HIBP guy who mentioned ignoring the password manager safeguards due to being half asleep while on the plane
🌐
OneUptime
oneuptime.com › home › blog › how to configure eslint and prettier for typescript
How to Configure ESLint and Prettier for TypeScript
February 3, 2026 - A complete guide to setting up ESLint and Prettier for TypeScript projects with VS Code integration, pre-commit hooks, and production-ready configurations.
🌐
Ryan Patterson
cgamesplay.com › post › 2019 › 12 › 20 › prettier
Configuring Prettier and ESLint | Ryan Patterson
December 20, 2019 - It provides mostly sane defaults, many of which ESLint can automatically fix. extends "plugin:react/recommended" This plugin adds several useful React-specific style and quality rules. extends "plugin:prettier/recommended" This plugin configures ESLint to defer all style decisions to Prettier.
🌐
Endor Labs
endorlabs.com › learn › cve-2025-54313-eslint-config-prettier-compromise----high-severity-but-windows-only
CVE-2025-54313: eslint-config-prettier Compromise — High Severity but Windows-Only | Blog | Endor Labs
September 17, 2025 - CVE-2025-54313 tracks a supply chain attack on eslint-config-prettier, where four malicious versions of a popular npm library targeted Windows machines with a remote-code execution payload. Learn how it happened and how to stay safe.
🌐
Visual Studio Marketplace
marketplace.visualstudio.com › items
Prettier ESLint - Visual Studio Marketplace
Extension for Visual Studio Code - A Visual Studio Extension to format JavaScript and Typescript code using prettier-eslint package
🌐
Josh Finnie
joshfinnie.com › blog › adding-eslint-and-prettier-to-my-blog
Adding ESLint & Prettier to My Blog | www.joshfinnie.com
December 2, 2024 - Setting up Prettier and ESLint wasn’t without challenges, but solving them was rewarding. The main issue was conflicting rules between the tools. ESLint would flag formatting issues that Prettier had already handled, creating redundant warnings. I solved this by adding the eslint-plugin-prettier/recommended package to my ESLint config.
🌐
GitHub
github.com › prettier › eslint-config-prettier › blob › main › CHANGELOG.md
eslint-config-prettier/CHANGELOG.md at main · prettier/eslint-config-prettier
On top of that, the docs have been updated to mention how to use both eslint.config.js (flat config) and eslintrc, and the tests now test both config systems. Changed: unicode-bom is no longer turned off. Prettier preserves the BOM if you have one, and does not add one if missing.
Author   prettier