Format and validate YAML files with customizable rules
Extensible command-line tool to format YAML files
yamlfmt
$ yamlfmt -in file.yaml
$ yamlfmt *.yaml
$ yamlfmt -conf .yamlfmt.yaml file.yaml
$ yamlfmt -in -recursive ./config/
$ yamlfmt file.yaml