teutat3s
24b8b9f060
Use treefmt For context, see upstream PR: https://github.com/divnix/digga/pull/491
23 lines
275 B
TOML
23 lines
275 B
TOML
[formatter.nix]
|
|
command = "alejandra"
|
|
includes = ["*.nix"]
|
|
|
|
[formatter.prettier]
|
|
command = "prettier"
|
|
options = ["--write"]
|
|
includes = [
|
|
"*.json",
|
|
"*.yaml",
|
|
"*.md",
|
|
]
|
|
|
|
[formatter.shell]
|
|
command = "shfmt"
|
|
options = [
|
|
"-s",
|
|
"-w",
|
|
"-i",
|
|
"2",
|
|
]
|
|
includes = ["*.sh"]
|