eslint-plugin-prettier

ESLint plugin for Prettier formatting.

Installation

npm install --save-dev eslint-plugin-prettier

Configuration

Make sure to put it last, so it gets the chance to override other configs.

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