Skip to content
Search

Eslint-plugin-prettier

lastmod 2022-04-11created 2022-04-113 edits

Reports code formatting errors detected by Prettier as ESLint errors

Installation

npm install --save-dev eslint-config-prettier

Then you need to add plugin:prettier/recommended as the last extension in your .eslintrc.json:

{
  "extends": ["plugin:prettier/recommended"]
}

See also

Favorite site

author Zer0 sitemap