Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- MongoDB
- 중첩 구조 분해
- 위크셋
- 이메일 전송
- Mongoose
- context switch
- JSON.stringify
- JSON.parse
- TypeScript
- 로그스태시
- 화살표 함수
- 캐러셀
- javacript
- 위크맵
- 카카오 소셜로그인
- logstash
- nodemailer
- AGGREGATE
- 참조에 의한 객체 복사
- DB
- nest
- 구조 분해 할당
- 객체
- 자바스크립트
- 카카오로그인
- nestjs
- Map
- JavaScript
- nextjs
- react-slick
Archives
- Today
- Total
뚜sh뚜sh
[VSCode] Code Formatter 적용 안될 때 본문
1. Settings 안에서 Editor: Format On Save가 체크되어 있는 지 확인
2. Editor: Default Formatter가 prettier로 설정되어 있는 지 확인
3. 최상위 폴더에 .prettierrc 파일을 생성한 뒤 아래코드 붙이기
{
"singleQuote": true,
"printWidth": 100,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"quoteProps": "as-needed",
"jsxSingleQuote": false,
"trailingComma": "es5",
"arrowParens": "always",
"endOfLine": "lf",
"bracketSpacing": true,
"jsxBracketSameLine": false,
"requirePragma": false,
"insertPragma": false,
"proseWrap": "preserve",
"vueIndentScriptAndStyle": false
}
'Visual Studio Code' 카테고리의 다른 글
[VSCode] Mac에서 한글이 씹힐 때 해결방법 (0) | 2023.03.17 |
---|
Comments