I STRONGLY ADVISE you against doing the following, but for educational purposes, just rename the file .husky/pre-commit to anything else. I called mine _pre-commit and slapped a README next to it documenting what I did. This will turn off the husky pre commit job, which is what runs prettier.
Not sure if it’s the same issue you are having, in my case prettier failed to run and that didn’t allow me to commit at all.
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmerhumor@lemmy.ml
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
Posts must be relevant to programming, programmers, or computer science.
No NSFW content.
Jokes must be in good taste. No hate speech, bigotry, etc.
The pain of working on the lemmy frontend. I “fixed” this by turning off prettier.
How do I do that? For, uh, reasons.
I STRONGLY ADVISE you against doing the following, but for educational purposes, just rename the file
.husky/pre-commit
to anything else. I called mine_pre-commit
and slapped a README next to it documenting what I did. This will turn off the husky pre commit job, which is what runs prettier.Not sure if it’s the same issue you are having, in my case prettier failed to run and that didn’t allow me to commit at all.