From a8006436afa407e26d36935ba587247a81f2d8e6 Mon Sep 17 00:00:00 2001 From: ahuston-0 Date: Sat, 13 Apr 2024 22:42:03 -0400 Subject: [PATCH] treefmt part 2 Signed-off-by: ahuston-0 --- treefmt.toml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 treefmt.toml diff --git a/treefmt.toml b/treefmt.toml new file mode 100644 index 0000000..0abbac2 --- /dev/null +++ b/treefmt.toml @@ -0,0 +1,22 @@ +# One CLI to format the code tree - https://github.com/numtide/treefmt + +[global] +# Glob patterns of files to exclude +excludes = [ ".git/" ] + + +[formatter.nixfmt] +# Formatter to run +command = "nixfmt" +# Command-line arguments for the command +#options = [] +# Glob pattern of files to include +includes = [ "*.nix" ] + +[formatter.deadnix] +# Formatter to run +command = "deadnix" +# Command-line arguments for the command +#options = [] +# Glob pattern of files to include +includes = [ "*.nix" ]