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

  • pppirate@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    11 days ago

    for me, it’s rather the tests in the pipelines rather than linting, which happens while I’m writing code

    • kabi@lemm.eeOP
      link
      fedilink
      arrow-up
      0
      ·
      11 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…

  • wise_pancake@lemmy.ca
    link
    fedilink
    arrow-up
    0
    ·
    12 days ago

    I used to have my vim set up to trim excess whitespace on write.

    I had no idea how many errant diff’s that would generate, I had to turn it off.

      • wise_pancake@lemmy.ca
        link
        fedilink
        arrow-up
        0
        ·
        11 days ago

        That History section is exactly what happened to me

        I’ll have to see if there’s a nvim equivalent, or if I can make my own

    • esa@discuss.tchncs.de
      link
      fedilink
      arrow-up
      0
      ·
      11 days ago

      Yeah, you generally just want the same auto-stuff done as would be enforced in CI anyway.

      … all the other stuff you could fix but wind up just ignoring because your team ignores it will just glare at you until you sneak it in somehow