Code Formatter
ESLint에도 formatting 관련 규칙들이 있지만, Prettier는 formatting에 특화되어 있다.
arrow function no parent
Parentheses around single parameter arrow functions / Add support for arrow-parens property · Issue #812 · prettier/prettier
Hey ! It will be great to add an option to disable auto remove of parenthesis when there is only one argument in an arrow function. Most of professional projects configure their way since it's the default eslint behaviour. Here is a Esli...
https://github.com/prettier/prettier/issues/812
eol
Why do I keep getting Delete 'cr' [prettier/prettier]?
I am using vscode with Prettier 1.7.2 and Eslint 1.7.0. After every newline I get: [eslint] Delete 'cr' [prettier/prettier] This is the .eslintrc.json: { "extends": ["airbnb", "plugin:prettier/
https://stackoverflow.com/questions/53516594/why-do-i-keep-getting-delete-cr-prettier-prettier
ESLint(TSLint)와 Prettier 함께 사용하기
코드 분석기인 ESLint와 formatter인 Prettier를 함께 사용하기 위해 필요한 사항을 알아보자 TypeScript 도구인 TSLint에도 동일하게 적용할 수 있다 ESLint는 현재 가장 많은 사용자가 있는 JavaScript linter이다. ESLint에도 formatting 관련 규칙들이 있지만, Prettier는 formatting에 특화되어 있다. 이 둘을 각각 설치해서 사용할 수도 있겠지만, 충돌 없이 깔끔하게 사용하기 위해서는 약간의 설정이 필요하다.
https://pravusid.kr/javascript/2019/03/10/eslint-prettier.html

Seonglae Cho