xin/treefmt.toml

28 lines
446 B
TOML

[formatter.statix]
command = "statix"
options = ["check"]
priority = 1
[formatter.deadnix]
command = "deadnix"
options = ["-f"]
includes = [ "*.nix" ]
priority = 2
[formatter.nix]
command = "nix"
options = ["fmt"]
includes = ["*.nix"]
priority = 3
[formatter.shfmt]
command = "shfmt"
options = ["-w"]
includes = ["*.sh", "bin/*"]
priority = 1
[formatter.perltidy]
command = "perltidy"
options = ["-b"]
includes = ["*.pl", "*.PL"]
priority = 1