0.0.12
This commit is contained in:
parent
d83744ed6e
commit
91d4573bff
14 changed files with 442 additions and 217 deletions
41
cfg/treefmt.toml
Normal file
41
cfg/treefmt.toml
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
allow-missing-formatter = true
|
||||
excludes = [".{gitignore,prettierignore}", "*.lock"]
|
||||
on-unmatched = "info"
|
||||
verbose = 2
|
||||
# fail-on-change = true
|
||||
|
||||
# -- Formatters --
|
||||
|
||||
# dprint
|
||||
# JSON(C), Markdown
|
||||
[formatter.dprint]
|
||||
command = "dprint"
|
||||
excludes = []
|
||||
includes = [
|
||||
"*.fish",
|
||||
"*.kdl",
|
||||
"*.md",
|
||||
"*.rs",
|
||||
"*.{css,scss}",
|
||||
"*.{html,twig}",
|
||||
"*.{js,mjs}",
|
||||
"*.{json,jsonc}",
|
||||
"*.{ts,mts,tsx,astro}",
|
||||
"*.{yaml}"
|
||||
]
|
||||
options = ["fmt", "--config", "/home/gcch/.config/dprint/dprint.jsonc"]
|
||||
priority = 0
|
||||
|
||||
[formatter.justfile]
|
||||
command = "just"
|
||||
includes = ["justfile"]
|
||||
options = ["--unstable", "--fmt", "-f"]
|
||||
priority = 1
|
||||
|
||||
# TOML
|
||||
[formatter.tombi]
|
||||
command = "tombi"
|
||||
excludes = []
|
||||
includes = ["*.toml"]
|
||||
options = ["format"]
|
||||
priority = 1
|
||||
Loading…
Add table
Add a link
Reference in a new issue