nix-eval-jobs/treefmt.toml
2023-07-14 07:09:40 +00:00

18 lines
315 B
TOML

[formatter."c++"]
command = "clang-format"
options = ["-i"]
includes = ["*.c", "*.cpp", "*.cc", "*.h", "*.hpp"]
[formatter.nix]
command = "nixpkgs-fmt"
includes = ["*.nix"]
[formatter.toml]
command = "prettier"
options = ["--write"]
includes = ["*.toml"]
[formatter.python]
command = "black"
includes = ["*.py"]