git-hooks.nix icon indicating copy to clipboard operation
git-hooks.nix copied to clipboard

treefmt settings do not include config or configPath

Open JayRovacsek opened this issue 1 year ago • 2 comments

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:

JayRovacsek avatar Apr 19 '24 23:04 JayRovacsek