this repo has no description
1{
2 treefmt,
3 nixfmt,
4 shfmt,
5}:
6treefmt.withConfig {
7 runtimeInputs = [
8 nixfmt
9 shfmt
10 ];
11 settings = {
12 on-unmatched = "warn";
13 tree-root-file = "flake.nix";
14 formatter = {
15 nix = {
16 command = "nixfmt";
17 includes = [ "*.nix" ];
18 };
19 shfmt = {
20 command = "shfmt";
21 options = [ "-w" ];
22 includes = [
23 "*.sh"
24 ".envrc"
25 ];
26 };
27 };
28 };
29}