mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-06-14 13:01:06 +02:00
chore: make project helix ready
This commit is contained in:
parent
77d44e51fa
commit
81e4b0e70f
4 changed files with 83 additions and 33 deletions
14
treefmt.toml
Normal file
14
treefmt.toml
Normal file
|
@ -0,0 +1,14 @@
|
|||
formatters = ["gofumpt", "prettier", "nixfmt"]
|
||||
|
||||
[formatter.gofumpt]
|
||||
command = "gofumpt"
|
||||
includes = [ "*.go" ]
|
||||
|
||||
[formatter.prettier]
|
||||
command = "prettier"
|
||||
includes = [ "*.md", "*.yaml" ]
|
||||
|
||||
[formatter.nixfmt]
|
||||
command = "nixfmt"
|
||||
includes = [ "*.nix" ]
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue