• BatmanAoD
      link
      fedilink
      arrow-up
      11
      ·
      10 months ago

      …why not both? An auto-formatter for personal use, a linter for CI checks on PRs.

      • Bogasse@lemmy.ml
        link
        fedilink
        arrow-up
        8
        ·
        10 months ago

        I agree : CI is required as a safety belt and then contributers can choose the workflow they prefer : format on save, manual invoke, precommit, …

    • mvirts@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      10 months ago

      Agreed, just run it all through a formatter and save everyone some time. Those who break the formatter will learn to conform 🙃