반응형
반응형

📝Prettier 설치

https://www.npmjs.com/package/prettier

 

prettier

Prettier is an opinionated code formatter. Latest version: 3.3.3, last published: 12 days ago. Start using prettier in your project by running `npm i prettier`. There are 17948 other projects in the npm registry using prettier.

www.npmjs.com

 

📝eslint 설치

https://www.npmjs.com/package/eslint

 

eslint

An AST-based pattern checker for JavaScript.. Latest version: 9.7.0, last published: 12 days ago. Start using eslint in your project by running `npm i eslint`. There are 24284 other projects in the npm registry using eslint.

www.npmjs.com

 

📝파일저장시 Prettier 적용

File - Settings - Prettier에서 Automatic Prettier configuration, Run on Save 체크

 

📝Auto Import

 

 

반응형