nix-eval-jobs/treefmt.toml

18 lines
336 B
TOML
Raw Normal View History

2022-04-26 09:04:54 +00:00
[formatter."c++"]
command = "clang-format"
2022-04-26 09:34:51 +00:00
options = [
"-i",
"-style",
"{BasedOnStyle: llvm, IndentWidth: 4, SortIncludes: false}"
]
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"]