numtide / treefmt-nix

treefmt nix configuration
https://numtide.github.io/treefmt/
MIT License
213 stars 62 forks source link

fix(programs): prevent yamlfmt from modifying unchanged files #167

Closed terlar closed 4 months ago

terlar commented 4 months ago

I took the implementation from the leptos-fmt wrapper.

Fix #98

terlar commented 4 months ago

Seems like this might not be needed after all: https://github.com/google/yamlfmt/pull/165

They were quick to fix when I actually raised the issue.