Skip to content

YAML

Ready36 lint rules

Each bar is measured on real-world code against the default rule set of the reference tool; the tick marks 85%. Ready means the first tool of each column is at least 85%; the others are shown for reference. How YAML is measured.

Format
Lint
Task Compared with Sudsy speed Time (Sudsy / tool) Peak memory (Sudsy / tool)
Format Prettier 43× faster 0.15 s / 6.48 s 103 / 237 MB
Lint yamllint 18× faster 0.071 s / 1.25 s 62 / 55 MB
Format dprint 1.4× faster 0.17 s / 0.23 s 99 / 73 MB

A preset is an ordinary sudsy.yaml; use one with extends.

36 lint rules apply to YAML: browse them.