• shastaxc@lemm.ee
    link
    fedilink
    arrow-up
    62
    ·
    10 months ago

    This is why I spend a good amount of time setting up linters on new repos before even starting to make the application. It saves a ton of time in peer reviews because no one has to think about formatting. Some people may not like the rules chosen but official direction from the boss is “get over it”. There are 0 comments on PRs about formatting which only ever annoys people and is a waste of good dev time.

    • waz@lemmy.world
      link
      fedilink
      arrow-up
      18
      ·
      10 months ago

      On my current team, when we were trying to choose a style, my only input was “any style that can be checked/applied with a git commit hook.”

      I get some people prefer reading code in a particular format. Let them configure their editor to apply it, but let’s keep the version history in one unavoidably consistent style. Pretty please.