eslint-config-prettier

Turns off all rules that are unnecessary or might conflict with Prettier.

Installation

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

Configuration

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

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