> For the complete documentation index, see [llms.txt](https://adam-37.gitbook.io/joomadeung/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://adam-37.gitbook.io/joomadeung/undefined-1/undefined/prettier.md).

# Prettier 설정

`.prettierrc.json` 파일 생성

```json
{
  "trailingComma": "es5",
  "tabWidth": 2,
  "semi": false,
  "singleQuote": true
}
```

**1) VScode의 기본 설정 파일인 setting.json, 2) .prettierrc 파일과 같은 prettier module의 환경 설정 파일, 3) editor config 파일**  세 가지인데, *우선 순위는 2) 3) 1)의 순서로 높게 적용* 된다.

***

`yarn add -D eslint prettier eslint-plugin-prettier eslint-config-prettier eslint-plugin-node eslint-config-node`

`npx install-peerdeps -D eslint-config-airbnb`
