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

git commit시 husky가 staged-file 외에도 적용되는 문제 #8

Open
limelumo opened this issue Sep 6, 2022 · 2 comments
Open

Comments

@limelumo
Copy link
Contributor

limelumo commented Sep 6, 2022

npx prettier --write .

현재 pre-commit 파일의 코드

@cockyb
Copy link
Contributor

cockyb commented Sep 6, 2022

staged file에 프리티어가 적용이 되지 않아야 하는 이유가 있을까요?

@limelumo
Copy link
Contributor Author

limelumo commented Sep 7, 2022

현재 commit을 마치면 변경되지 않은 파일들이 주르륵 'changed'로 들어오고 있습니다.
pre-commit 설정과 관련된 이슈라고 판단되어 해결법을 찾고 있었습니다..!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants