On 3/5/19 4:56 AM, Clement Verna wrote:
On Tue, 5 Mar 2019 at 09:59, Alessandro Lorenzi alorenzi@alorenzi.eu wrote:
...snip...
The most standrd solution should be yamlint.
It is also packaged in Fedora: yamllint.noarch : A linter for YAML files
Ha nice it will be easier to use than prettier and can be used enforce the formatting.
I like the idea of doing a mass run to fix things first, then using yamllint to keep it nice.
There is also ansible-lint, but thats more for ansible specific rules...
kevin