REACT
Insert `,` prettier/prettier 오류
쫑나리
2023. 12. 28. 13:59
728x90
반응형
SMALL
eslintrc.cjs 파일에서 endOfLine: "auto"와 trailingComma: "all" 이라는 규칙 추가해주기.
설정에서 Prettier - Trailing Comma - all로 변경
설정완료 후 터미널에서 한번 쳐주고!
npx eslint --fix src/
728x90
반응형
LIST