• flashgnash@lemm.ee
    link
    fedilink
    arrow-up
    5
    ·
    6 months ago

    Does Prettier count as a linter?

    I always thought linters were more to find bad practice and possible errors than control the code style

    • Australis13@fedia.io
      link
      fedilink
      arrow-up
      4
      ·
      6 months ago

      Some linters can do both. Getting one set up as an automated job whenever code is pushed to the repo is on my TODO list…

      • flashgnash@lemm.ee
        link
        fedilink
        arrow-up
        1
        ·
        6 months ago

        That does sound nice to me too. I’ve found prettier with format on save works pretty well but that means you have to set it up in every editor