nix-eval-jobs/treefmt.toml

18 lines
315 B
TOML
Raw Normal View History

2022-04-26 09:04:54 +00:00
[formatter."c++"]
command = "clang-format"
options = ["-i"]
2022-04-26 09:34:51 +00:00
includes = ["*.c", "*.cpp", "*.cc", "*.h", "*.hpp"]
2022-04-26 09:04:54 +00:00
[formatter.nix]
command = "nixpkgs-fmt"
includes = ["*.nix"]
2022-04-26 09:34:51 +00:00
[formatter.toml]
command = "prettier"
options = ["--write"]
includes = ["*.toml"]
2022-04-26 09:36:48 +00:00
[formatter.python]
command = "black"
includes = ["*.py"]