google / yamlfmt

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add option to remove trailing spaces

aslafy-z opened this issue · comments

Thanks for opening an issue!

yamlfmt seems to do this by default on Linux. Do you have a reproduction where it doesn't work?

I tried:

a: 1 
b: test 

With a trailing space on both. After formatting, the trailing space was gone.

You're right, thank you for your time!