# SRC: https://github.com/numtide/treefmt # REF: https://treefmt.com/latest/getting-started/configure/#config-file walk = "git" excludes = [ "*.key", "*.patch", "*.ogg", "*.lock", "*.conf", "License" ] [formatter.nixfmt-rfc-style] command = "nixfmt" options = [ "-s" ] includes = [ "*.nix" ] [formatter.shfmt] command = "shfmt" options = [ "-s", "-w" ] includes = [ "*.sh" ] [formatter.prettier] command = "prettier" options = [ "-w" ] includes = [ "*.css" ]