🌐
GitHub
github.com › prettier › eslint-plugin-prettier
GitHub - prettier/eslint-plugin-prettier: ESLint plugin for Prettier formatting · GitHub
ESLint plugin for Prettier formatting. Contribute to prettier/eslint-plugin-prettier development by creating an account on GitHub.
Author   prettier
🌐
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
If you encounter a shared config that uses a non-standard plugin name, please ask them to use the standard name instead. Some of the rules that eslint-config-prettier turns off may be deprecated, or even removed from ESLint. This is perfectly fine, but if you really need to omit the deprecated and removed rules, you can do so by setting the ESLINT_CONFIG_PRETTIER_NO_DEPRECATED environment variable to a non-empty value.
Author   prettier
🌐
GitHub
github.com › prettier › eslint-plugin-prettier › releases
Releases · prettier/eslint-plugin-prettier
ESLint plugin for Prettier formatting. Contribute to prettier/eslint-plugin-prettier development by creating an account on GitHub.
Author   prettier
🌐
GitHub
github.com › prettier › prettier-eslint
GitHub - prettier/prettier-eslint: Code `prettier` `eslint --fix` Formatted Code :sparkles: · GitHub
While prettier-eslint uses eslint --fix to change the output of prettier, eslint-plugin-prettier keeps the prettier output as-is and integrates it with the regular ESLint workflow.
Author   prettier
🌐
Prettier
prettier.io › docs › integrating-with-linters
Integrating with Linters · Prettier
Finally, we have tools that run prettier and then immediately lint files by running, for example, eslint --fix on them.
🌐
GitHub
github.com › SalvatorePreviti › eslint-plugin-quick-prettier
GitHub - SalvatorePreviti/eslint-plugin-quick-prettier: Quick prettier for eslint --fix
{ "plugins": ["quick-prettier"], "rules": { "quick-prettier/prettier": [ 1, { // Prettifies package.json files "prettify-package-json": true, "rules": { // eslint native rules to run only in --fix mode "padding-line-between-statements": [ 1, { "blankLine": "always", "next": "import", "prev": "let" } ], "...another-rule": [1, "..."] } } ] } }
Author   SalvatorePreviti
🌐
GitHub
github.com › vuejs › eslint-config-prettier
GitHub - vuejs/eslint-config-prettier: `eslint-config-prettier` for `create-vue` setups
It disables all rules that are unnecessary or might conflict with Prettier. It also enables the eslint-plugin-prettier plugin, which runs Prettier as an ESLint rule and reports differences as individual ESLint issues.
Starred by 82 users
Forked by 7 users
Languages   JavaScript
🌐
GitHub
github.com › prettier › eslint-plugin-prettier › issues › 396
Failed to load plugin 'prettier' declared in '.eslintrc.js': Cannot find module 'eslint-plugin-prettier' · Issue #396 · prettier/eslint-plugin-prettier
March 3, 2021 - The plugin name is spelled incorrectly in an ESLint configuration file (e.g. .eslintrc). 2. If ESLint is installed globally, then make sure 'eslint-plugin-prettier' is installed globally as well. 3. If ESLint is installed locally, then 'eslint-plugin-prettier' isn't installed correctly.
Published   Mar 03, 2021
🌐
GitHub
github.com › prettier › eslint-plugin-prettier › issues › 562
Issue upgrading to Prettier 3 · Issue #562 · prettier/eslint-plugin-prettier
July 5, 2023 - Please paste any applicable config files that you're using (e.g. .prettierrc or .eslintrc files) /* eslint-env node */ module.exports = { plugins: ["@typescript-eslint", "prettier"], extends: [ "eslint:recommended", "plugin:@typescript-eslint/eslint-recommended", "plugin:@typescript-eslint/recommended", ], rules: { "prettier/prettier": "error", }, settings: { "import/resolver": { typescript: { alwaysTryTypes: true, }, }, }, };
Published   Jul 05, 2023
Find elsewhere
🌐
npm
npmjs.com › package › eslint-plugin-prettier
eslint-plugin-prettier - npm
Our recommended configuration automatically enables eslint-config-prettier to disable all formatting-related ESLint rules. For legacy configuration, this plugin ships with a plugin:prettier/recommended config that sets up both eslint-plugin-prettier and eslint-config-prettier in one go.
      » npm install eslint-plugin-prettier
    
Published   Jan 14, 2026
Version   5.5.5
Author   Teddy Katz
🌐
GitHub
github.com › prettier
Prettier · GitHub
prettier/angular-estree-parser’s past year of commit activity · TypeScript 17 MIT 12 2 5 Updated · Mar 6, 2026 · eslint-plugin-prettier Public · ESLint plugin for Prettier formatting · prettier/eslint-plugin-prettier’s past year of commit activity ·
🌐
GitHub
github.com › prettier-eslint
Prettier ESLint · GitHub
Prettier ESLint OpenCollective Funding, `prettier` ❤️ `eslint` - Prettier ESLint
🌐
npm
npmjs.com › search
eslint-plugin-prettier - npm search
GitHub Actions• 9.0.4 • 15 days ago • 97 dependents • MITpublished version 9.0.4, 15 days ago97 dependents licensed under $MIT ... soda• 10.2.0 • a year ago • 287 dependents • MITpublished version 10.2.0, a year ago287 dependents licensed under $MIT ... ESLint plugin for WordPress development.
🌐
Prettier
prettier.io › docs › install
Install · Prettier
Editor plugins will pick up your local version of Prettier, making sure you use the correct version in every project. (You wouldn’t want your editor accidentally causing lots of changes because it’s using a newer version of Prettier than your project!) And being able to run Prettier from the command line is still a good fallback, and needed for CI setups. If you use ESLint...
🌐
GitHub
github.com › prettier › eslint-config-prettier › issues › 178
Prettier with React & Typescript · Issue #178 · prettier/eslint-config-prettier
November 11, 2020 - extends: [ ... 'prettier/@typescript-eslint', 'plugin:prettier/recommended', 'plugin:prettier/react', 'plugin:prettier/@typescript-eslint', ]
Published   Feb 22, 2021
🌐
Robin Wieruch
robinwieruch.de › prettier-eslint
How to use Prettier with ESLint
How to combine Prettier and ESLint for VSCode, Sublime, or any other IDE/editor. You will get to know the ESLint Prettier Rules that are needed to get you started ...
🌐
GitHub
github.com › azat-io › eslint-plugin-perfectionist
GitHub - azat-io/eslint-plugin-perfectionist: ☂️ ESLint plugin for sorting various data such as objects, imports, types, enums, JSX props, etc.
Prettier is used for formatting, and ESLint for styling. For example, changing the order of imports can affect how the code works (console.log calls, fetch, style loading). Prettier should not change the AST.
Author   azat-io
Top answer
1 of 2
456

UPDATE 2023: ESLint is deprecating formatting rules and recommend you use a source code formatter instead.

tl;dr: Use eslint-config-prettier in eslint, and run prettier separately. You can ignore the rest.

From v8.53.0 onwards, you will see a deprecation warning if those formatting rules are enabled in your config. You should still use eslint-config-prettier to disable conflicting rules until the rules are removed in a new major release.

ESLint contains many rules and those that are formatting-related might conflict with Prettier, such as arrow-parens, space-before-function-paren, etc. Hence using them together will cause some issues. The following tools have been created to use ESLint and Prettier together.

prettier-eslint eslint-plugin-prettier eslint-config-prettier
What it is A JavaScript module exporting a single function. An ESLint plugin. An ESLint configuration.
What it does Runs the code (string) through prettier then eslint --fix. The output is also a string. Plugins usually contain implementations for additional rules that ESLint will check for. This plugin uses Prettier under the hood and will raise ESLint errors when your code differs from Prettier's expected output. This config turns off formatting-related rules that might conflict with Prettier, allowing you to use Prettier with other ESLint configs like eslint-config-airbnb.
How to use it Either calling the function in your code or via prettier-eslint-cli if you prefer the command line. Add it to your .eslintrc. Add it to your .eslintrc.
Is the final output Prettier compliant? Depends on your ESLint config Yes Yes
Do you need to run prettier command separately? No No Yes
Do you need to use anything else? No You may want to turn off conflicting rules using eslint-config-prettier. No

For more information, refer to the official Prettier docs.

It's the recommended practice to let Prettier handle formatting and ESLint for non-formatting issues, prettier-eslint is not in the same direction as that practice, hence prettier-eslint is not recommended anymore. You can use eslint-plugin-prettier and eslint-config-prettier together.

2 of 2
3
  • Use eslint-config-prettier to turn-off eslint rules that are unnecessary or might conflict with Prettier. See 1st line in readme: eslint-config-prettier.
  • Use eslint-plugin-prettier to run Prettier as an Eslint-rule. See 1st line in readme: eslint-plugin-prettier
  • Use both to take advantage of both tools. See recommended configuration: eslint-plugin-prettier. This way you use plugin to run Prettier as an Eslint-rule, and config to turn-off eslint rules that are unnecessary or might conflict with Prettier.
  • You can ignore prettier-eslint
🌐
Medium
allalmohamedlamine.medium.com › eslint-plugin-prettier-vs-eslint-config-prettier-cb5476ed1f33
eslint-plugin-prettier vs eslint-config-prettier | by Mohamed Lamine Allal | Medium
November 27, 2023 - { "extends": ["prettier"], "plugins": ["prettier"], "rules": { "prettier/prettier": "error", "arrow-body-style": "off", "prefer-arrow-callback": "off" } } ... node_modules/eslint-plugin-dragon/crazy.js ◌ the eslint-plugin-dragon npm package should expose crazy.js at root ◌ or through npm module resolution in package.json