6 comments

  • vinkelhake 8 hours ago
    I used yaml for some things back in the stone age (shout out to why the lucky stiff and syck). The more I used it, and the more I came in contact with it I started to dislike that it has so many features, and tries to be overly clever. I'm kind of surprised to see that it's making a comeback (or maybe it never went away).

    https://noyaml.com/

    • xelxebar 6 hours ago
      That site's listed complaints are all either about a really old YAML spec or about self-inflicted, unrelated technical debt.

      Granted, Python and other popular languages are also on an ancient YAML version for some inexplicable reason...

    • jdwithit 5 hours ago
      YAML is so ubiquitous I have to wonder what corner of tech you work in that you aren't encountering it in the wild. Kubernetes really brought it to center stage going on 10 years ago, but it's the config file format for many many applications these days.

      That's not meant as an endorsement, just saying it's not "making a comeback" any more than Taylor Swift is in music. It's The Thing right now and has been for a while.

    • alwillis 8 hours ago
      It really never went away.
    • sixdimensional 3 hours ago
      Is 2001 the stone age now (the year YAML was conceived)?
  • NeckBeardPrince 5 hours ago
    > This tool is not yet officially supported by Google. It is currently maintained solely by @braydonk, and unless something changes primarily in spare time.

    No thanks. I'm done after Kaniko. https://github.com/GoogleContainerTools/kaniko

  • vivzkestrel 2 hours ago
    doesnt yq already do this? https://github.com/mikefarah/yq
  • alwillis 8 hours ago
    Also available via Homebrew:

        brew install yamlfmt
  • edoceo 7 hours ago
    Why not use Prettier? Supports YAML since like 2020 - and does other languages too.
    • homebrewer 6 hours ago
      It's ungodly slow on large projects. I've been using `deno fmt` lately (despite not having any other use for deno), it reformat/checks thousands of files per second, and supports YAML too.

      This says YAML support is behind an unstable flag, but I haven't been passing any flags. Works fine anyway.

      https://docs.deno.com/runtime/reference/cli/fmt/

      • hackerbrother 5 hours ago
        Ha, I use Deno just as a formatter also! It’s great for Markdown formatting.
      • no_wizard 5 hours ago
        The package pretty-quick speeds up prettier significantly
  • kryptn 6 hours ago
    we throw things through yq for formatting