configuration-eslint/cfg/treefmt.toml
2026-03-29 15:52:38 +02:00

41 lines
827 B
TOML

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