github google/yamlfmt v0.10.0

latest releases: v0.14.0, v0.13.0, v0.12.1...
14 months ago

I don't have a name for this release

I've waited too long to do this release and there's a couple features that need to get out.

Features

version flag

Now you can print the current yamlfmt version with yamlfmt -version.

continue_on_error flag (#114)

If you would like to continue on error and not exit with code 1 when one of your files aren't formatting, you can use yamlfmt -continue_on_error. The errors will be printed out, but the tool will continue along.

Bug Fixes

Excludes weren't working (#121)

Due to a misunderstanding on my part, I swapped standard filepath collection mode to calculate exclusions using absolute paths. This worked because of the way tests were written, but it does not work in most real world scenarios and it slipped by. This should now be resolved.

Contributors

Thanks @kachick for the version flag! #117
Thanks @koki-develop and @trevorrea for fixing some typos in docs and comments!

Don't miss a new yamlfmt release

NewReleases is sending notifications on new releases.