프리티어 사용하기!

임성은·2023년 4월 9일
0
  1. 설치를 해준다!
npm install prettier
  1. 최상위에 파일을 생성해준다!

.prettierrc.js

밑에는 프로젝트 할 때 사용했던 코드

module.exports = {
	semi: true,
	singleQuote: false,
	printWidth: 100,
	useTabs: true,
	trailingComma: "all",
	bracketSpacing: true,
	endOfLine: "auto",
};
  1. 끝 간단 하죠!
profile
개발자의 길에 당차게 들어서다!!

0개의 댓글