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" ]