2일차 (git contribution)

이용현
이용현
Nov 1 · 2 min read

자꾸 하루씩 밀려서 커밋 로그를 올리는데.. 오늘 저녁에 하나 더 올려서 최신 상황처럼 올려야겠다.

진행사항

  1. Typescript를 기본적으로 셋팅을 한상태에서 styled-component 와 jest설정을 하고 있으며, tslint로 변경을 하려고 한다.

문제사항

  1. styled-component와 typescript의 interface에서 생기는 문제
  • styled-component 에 내려주는 props를 모두 interface로 관리를 해야 하는데 어떻게 관리를 해야 할지 고민이다. stackoverflow에는 여러가지 솔루션들이 존재 하는데, 어떤게 좋은지 실제로 사용하는게 좋을지 판단이 안서고 있다. 기존 프로젝트에서는 styled-component를 사용할때 props를 엄청나게 많이 쓰진 않아서 그냥 interface를 모두 선언해주는 형태로 갈까도 고민중이다.

2. eslint -> tslint 신경안써도될듯!

  • Tslint는 Eslint로 통합이 된다고 하네요.!
Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade