Skip to content

Eslint-config-prettier

prettier와 충돌을 일으키는 ESLint 규칙들을 비활성화 시키는 config

Installation

Install eslint-config-prettier:

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

Then, add "prettier" to the "extends" array in your .eslintrc.* file. Make sure to put it last, so it gets the chance to override other configs.

{
  "extends": [
    "some-other-config-you-use",
    "prettier"
  ]
}

See also

Favorite site