3 ms·
Why not use Prettier? Supports YAML since like 2020 - and does other languages too.
by edoceo 1y ago
Why not use Prettier? Supports YAML since like 2020 - and does other languages too.
- homebrewer 1y agoIt'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/ https://docs.deno.com/runtime/reference/cli/fmt/
- hackerbrother 1y agoHa, I use Deno just as a formatter also! It’s great for Markdown formatting.
- no_wizard 1y agoThe package pretty-quick speeds up prettier significantly