• tyler
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    18 days ago

    husky has to be one of the most annoying and outright hostile libraries I’ve seen. Anytime I pull an open source project to get it working on my machine I have to go through and set up an entire development pipeline just to make a code change even if I never intend on upstreaming that change because husky forces formatting on commits. What an idiotic thing to do. The article covers this clearly. It’s just not something that should be done on commit.

    • falseWhite
      link
      fedilink
      arrow-up
      6
      ·
      18 days ago

      Wow. How difficult is it to add --no-verify or simply -n flag to skip the pre-commit hooks?

      • tyler
        link
        fedilink
        arrow-up
        1
        arrow-down
        2
        ·
        17 days ago

        What’s the point then? Why bother with hooks at all?