• lemmeBe@sh.itjust.works
    link
    fedilink
    arrow-up
    0
    ·
    27 days ago

    Do formatting and linting and such autofix issues automatically as part of pre-commit checks. That way they don’t end up as part of the CI.

    • Flipper@feddit.org
      link
      fedilink
      arrow-up
      0
      ·
      27 days ago

      If it’s open source I’d still add it, because a lot of people can’t follow basic instructions.

      • lemmeBe@sh.itjust.works
        link
        fedilink
        arrow-up
        0
        arrow-down
        1
        ·
        27 days ago

        They don’t have to follow anything except try to commit their changes. Won’t be possible even locally if linting or typechecking fail.

        • bamboo@lemm.ee
          link
          fedilink
          arrow-up
          1
          ·
          26 days ago

          Pre-commit hooks can’t be installed automatically and most people won’t even know they exist.