teutat3s
5ad5c9bae6
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"]
|