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

bug: Fix husky and prettier #1267

Closed
Parikshit2001 opened this issue Sep 19, 2024 · 3 comments
Closed

bug: Fix husky and prettier #1267

Parikshit2001 opened this issue Sep 19, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@Parikshit2001
Copy link
Contributor

Describe the bug
Whenever I'm making any commit to cms, husky is running pre commit prettier script and changing ~17 files

To Reproduce
Steps to reproduce the behavior:

  1. set up the repo
  2. make a small change
  3. make a commit
  4. revisit the diff in commit, it will show 17 files changed
@Parikshit2001 Parikshit2001 added the bug Something isn't working label Sep 19, 2024
@Parikshit2001
Copy link
Contributor Author

Screenshot 2024-09-19 at 1 07 02 PM Screenshot 2024-09-19 at 1 07 29 PM

@wraith2009
Copy link

hey @Parikshit2001 for me i just ran a cmd npx husky-init and it was fixed and changing the files is prob due to linting issue . you can ask mods for the reason as i might be wrong

@Parikshit2001
Copy link
Contributor Author

@hkirat what should we do
I also did not change anything in the husky
I just made a small change removing a unused import and made a commit
When the commit was being made, a prettier script ran which changed ~17 files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants