• Saganaki@lemmy.one
    link
    fedilink
    arrow-up
    16
    arrow-down
    2
    ·
    1 year ago

    Tabs for indentation/increased scope, spaces for alignment. The best answer.

      • LetterboxPancake
        link
        fedilink
        Deutsch
        arrow-up
        3
        arrow-down
        4
        ·
        1 year ago

        In come my idiotic colleagues:

        “buT w3 lIke 2 SpACe5!”

        fuck with the linter

        • ggppjj@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          I use a product that has a homegrown scripting language that enforces two space tabs and will crash with anything else.

          • LetterboxPancake
            link
            fedilink
            Deutsch
            arrow-up
            1
            ·
            1 year ago

            My main issue is that they keep changing format all the time and making merge requests unnecessarily difficult. Wanna use two? I hate it but fine. But let’s agree on this and change our formatter all at once.