Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#11] husky & lint-staged 로 commit 시 lint 검사 자동화 #22

Merged
merged 7 commits into from
Jan 3, 2024

Conversation

im-na0
Copy link
Contributor

@im-na0 im-na0 commented Jan 3, 2024

Issue Number

close #11

⛳️ Task

  • 화이팅하기
  • husky, lint-staged 세팅

✍️ Note

스크린샷 2024-01-03 오후 5 30 45 스크린샷 2024-01-03 오후 5 30 35

Git commit 시점에 내가 수정한 소스에 한해서 eslint 규칙에 부합하는지 검사하고, 그렇지 않은 코드는 다음과 같이 에러를 띄어서 commit 되는 걸 막습니다.

📸 Screenshot

📎 Reference

Sorry, something went wrong.

@im-na0 im-na0 added the CHORE Further information is requested label Jan 3, 2024
@im-na0 im-na0 self-assigned this Jan 3, 2024
Copy link
Contributor

@Bumang-Cyber Bumang-Cyber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

저번 조에선 push후에 lint 에러 vercel로 확인하고 다시 수정했는데,
이런 번거로움을 줄여줄 수 있을 거 같습니다. 수고하셨습니다!

@im-na0 im-na0 merged commit fab466c into main Jan 3, 2024
@im-na0 im-na0 deleted the feature/#11-husky-setting branch January 3, 2024 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CHORE Further information is requested
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Chore: husky 세팅
3 participants