global: add formatter
This commit is contained in:
parent
d7009bfe97
commit
6520649bb1
19 changed files with 3925 additions and 288 deletions
9
treefmt.toml
Normal file
9
treefmt.toml
Normal 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"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue