this post was submitted on 21 Jun 2023
18 points (95.0% liked)

Programmer Humor

32710 readers
836 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
top 4 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 2 years ago (1 children)

The pain of working on the lemmy frontend. I "fixed" this by turning off prettier.

[–] rcmaehl 1 points 2 years ago (1 children)

How do I do that? For, uh, reasons.

[–] [email protected] 2 points 2 years ago* (last edited 2 years ago)

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.

[–] rcmaehl 2 points 2 years ago

Typescript is obviously not my type.

load more comments
view more: next ›