Skip to content

Conversation

@doitidey
Copy link
Contributor

@doitidey doitidey commented Dec 7, 2023

PR 타입

  • 기능 추가
  • 버그 수정
  • 코드 업데이트
  • 사소한 수정

PR 요약

close #96
husky 라이브러리를 통해 효율적인 컨벤션 관리를 돕습니다.


변경사항

husky 라이브러리를 추가 설치했습니다. npm i 해주세요!


코드 참고사항

husky
husky는 ESLint와 Prettier가 동작하도록 강제함으로 Github에 올라갈 코드의 실수를 방지할 수 있게 해줍니다.

기존의 팀에서 세운 코드 컨벤션을 기반으로, ESLint와 Prettier 규칙들을 추가했습니다.
그리고 커밋과 푸시를 할 때 오류가 있다면 커밋/푸시가 불가해집니다.

  • git commit시
    • npm run lint, npm run format이 자동으로 실행되어 prettier가 자동으로 코드를 수정하고, ESlint가 규칙에 맞지 않는 부분은 error를 발생시킵니다.
  • git push 시
    • ESlint가 규칙에 맞지 않는 부분은 error를 발생시킵니다.

@doitidey doitidey added the 새로운 기능 새로운 기능을 구현합니다. label Dec 7, 2023
@doitidey doitidey self-assigned this Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

새로운 기능 새로운 기능을 구현합니다.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ Setting ] huscky 적용

2 participants