📑 Treefmt formatter for nix, json, css, sh and more

This commit is contained in:
2025-01-05 20:36:01 +01:00
parent b30376cdcf
commit 573f2c459e
11 changed files with 390 additions and 274 deletions

6
fmt
View File

@ -1,5 +1,5 @@
#!/usr/bin/env sh
# Format all .nix files using the new default nix formatter
# TODO doesn't work when run using ./fmt
nix fmt ./**.nix
# Format all files matched by treefmt.toml
treefmt --on-unmatched info