editorconfig
-
editorconfig vs eslint vs prettier :: 마이구미개발 설정 2022. 10. 22. 21:50
이 글은 editorconfig, eslint, prettier 를 비교한다. 대부분의 프로젝트를 보면, 3가지 모두 공존하고 있는 경우가 많다. eslint, prettier 를 사용한다면, editorconfig 는 굳이 필요없지않나? 라고 혹시 생각하고 있다면 이 글은 도움이 될 것이다. 3가지 파일 모두 존재하는 프로젝트 예제 - https://github.com/facebook/react EditorConfig - https://editorconfig.org/ Eslint - https://eslint.org/ Prettier - https://prettier.io/ 우선 EditorConfig, Eslint, Prettier 각각 무엇인지 살펴보자. EditorConfig 우리가 사용하는 에디..