git-hooks.nix
git-hooks.nix copied to clipboard
treefmt settings do not include config or configPath
Currently the treefmt hook does not support a configuration path option that would enable the reference of treefmt.toml. Without running treefmt --init or --config-file the check cannot be utilised in a consistent way if the config file is not committed to the repository
Happy to contribute a PR that adds this if deemed suitable :pray: