• Nerd02@forum.basedcount.com
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    1 year 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.