google / yamlfmt

An extensible command line tool or library to format yaml files.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support finding a local yamlfmt config file named `.yamlfmt.yaml`

nogweii opened this issue · comments

Add an additional filename that can be found (or maybe two, with both variations of the extension). It'd be nice if ~/code/foobar/.yamlfmt.yaml was loaded, as that would means editors will easily detect the file type.

Hi @nogweii,

v0.11.0 added support for calling the file yamlfmt.yml or yamlfmt.yaml. I opened a PR so those can be hidden as well.