🌐
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.
Starred by 3.6K users
Forked by 212 users
Languages   JavaScript
🌐
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.
Starred by 5.9K users
Forked by 262 users
Languages   JavaScript
Discussions

Failed to load plugin 'prettier' declared in '.eslintrc.js': Cannot find module 'eslint-plugin-prettier'
What version of eslint are you using? "eslint": "^7.21.0", What version of prettier are you using? "prettier": "^2.2.1", What version of eslint-plugin-pretti... More on github.com
🌐 github.com
38
March 3, 2021
Issue upgrading to Prettier 3
What version of eslint are you using? 8.44.0 What version of prettier are you using? 3.0.0 What version of eslint-plugin-prettier are you using? 4.2.1 Please paste any applicable config files that ... More on github.com
🌐 github.com
42
July 5, 2023
Importing `eslint-plugin-prettier/recommended` in ESM syntax results in a lint error.
What version of eslint are you using? v8.56.0 What version of prettier are you using? 3.1.1 What version of eslint-plugin-prettier are you using? 7.33.2 Please paste any applicable config files tha... More on github.com
🌐 github.com
1
October 3, 2023
What's the difference between prettier-eslint, eslint-plugin-prettier and eslint-config-prettier?
I want to use Prettier and ESLint together, but I experienced some conflicts just by using them one after another. I see that there are these three packages that seem to allow them to be used in ta... More on stackoverflow.com
🌐 stackoverflow.com
🌐
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.
Starred by 4.1K users
Forked by 175 users
Languages   TypeScript 92.9% | JavaScript 7.1%
🌐
GitHub
github.com › prettier
Prettier · GitHub
prettier/prettier-eslint-cli’s past year of commit activity ... Automates the prettier/prettier regression checks with GitHub Actions.
🌐
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 › 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 100.0% | JavaScript 100.0%
🌐
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.
Author   AgoniNemo
Find elsewhere
🌐
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, }, }, }, };
Author   broksonic21
🌐
npm
npmjs.com › package › eslint-plugin-prettier
eslint-plugin-prettier - npm
January 14, 2026 - 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-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 › 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.
Starred by 2.8K users
Forked by 61 users
Languages   TypeScript
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
🌐
npm
npmjs.com › package › eslint-config-prettier
eslint-config-prettier - npm
July 18, 2025 - There a few rules that eslint-config-prettier disables that actually can be enabled in some cases. Some require certain options. The CLI helper tool validates this. Some require special attention when writing code. The CLI helper tool warns you if any of those rules are enabled, but can’t tell if anything is problematic. Some can cause problems if using eslint-plugin-prettier and --fix.
      » npm install eslint-config-prettier
    
Published   Jul 18, 2025
Version   10.1.8
Author   Simon Lydell
🌐
Reddit
reddit.com › r/neovim › help with setup prettier + eslint
r/neovim on Reddit: Help with setup prettier + eslint
March 1, 2024 -

I am working on a project that uses eslint + prettier (and plugins to running both coupled)

"devDependencies": {
    "@typescript-eslint/eslint-plugin": "^6.0.0",
    "@typescript-eslint/parser": "^6.0.0",
    "eslint": "^8.42.0",
    "eslint-config-prettier": "^9.0.0",
    "eslint-plugin-prettier": "^5.0.0",
    "pre-commit": "^1.2.2",
    "prettier": "^3.2.5",
    "pretty-quick": "^4.0.0",
     "typescript": "^5.1.3"
}

And respectively .prettierrc & .eslintrc.js cfg files (in project root), the prettier one with common formatting rules, and the eslint with the prettier integration plugins

module.exports = {
//...
  plugins: ['@typescript-eslint/eslint-plugin'],
    extends: [
    'plugin:@typescript-eslint/recommended',
    'plugin:prettier/recommended',
  ],
//...
};

My problem is: neither prettier or eslint both installed through Mason they do not recognize .prettierrc/eslintrc.js config files in cwd. Why the hell is javascript ecosystem the most confusing thing in the world?

I've rtfm (lazyvim) about formatters and linters, but I'm really lost. I also read in some topics that the installation of both coupled is not recommended and requires additional configuration (but I'm just workin in, is not my decision). Please, could you recommend content to understand how to configure it?

🌐
GitHub
github.com › topics › prettier-eslint
prettier-eslint · GitHub Topics · GitHub
An atom package for the prettier formatter. atom formatter eslint prettier atom-package atom-editor prettier-js prettier-eslint