Settings/Setting

VSCode) Prettier extension settings

Juzdalua 2022. 7. 4. 14:20

익스텐션 설치.

 

취향에 맞게 .prettierrc 파일을 수정한다.

{
  "singleQuote": true,
  "trailingComma": "none",
  "printWidth": 200,
  "tabWidth": 2,
  "bracketSpacing": true,
  "semi ": true,
  "bracketSameLine": false
}

사용은 option(alt) + shift + f

 

참고) https://prettier.io/docs/en/options.html

'Settings > Setting' 카테고리의 다른 글

VSC) Snippets 만들기  (0) 2023.01.31
Terminal) Oh my zsh, power level 10k 설치하기  (0) 2023.01.31
VSCode)Tab size 변경, 적용  (0) 2022.06.24
Typescript) nodemon 사용하기  (0) 2022.06.16
return case 정리  (0) 2022.04.29