Alt

Indiana Jones swapping out an artifact for a fake one meme template with the text “existing code” on the real artifact, “new commit” on the fake one, and “linter” on the pedestal / trap

  • kabi@lemm.eeOP
    link
    fedilink
    arrow-up
    0
    ·
    20 days ago

    The idea for the meme came to me regarding contributing to a project for the first time. It’s not like I will push trash code, but if I accidentally didn’t add exactly two newlines between something and it starts complaining…

    • lunarul@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      19 days ago

      If there’s a linter with such opinionated rules there should also be a pre-commit hook that auto-formats accordingly.