global: add formatter

This commit is contained in:
Agahnim 2026-05-13 14:00:54 +02:00
parent eb6819bb76
commit 6c87abd4fc
Signed by: Agahnim
SSH key fingerprint: SHA256:Zj65PJnE0dRYye8Ltk/qDglynyXUxJngQ9qqx/VI+b4
19 changed files with 3925 additions and 288 deletions

9
treefmt.toml Normal file
View file

@ -0,0 +1,9 @@
[formatter.rustfmt]
command = "rustfmt"
options = ["--edition", "2024"]
includes = ["*.rs"]
[formatter.prettier]
command = "prettier"
options = ["--write"]
includes = ["*.html", "*.css", "*.js", "*.ts", "*.json", "*.md"]