Skip to content

Commit 646e4cd

Browse files
committed
Force use of rustfmt.toml
1 parent 9977650 commit 646e4cd

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

treefmt.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@
2020
};
2121
settings = {
2222
formatter = {
23+
rustfmt.options = [
24+
"--config-path"
25+
"./rustfmt.toml"
26+
];
2327
shellcheck.includes = [ "*.sh" ];
2428
shellcheck.excludes = [ "*.envrc" ];
2529
shfmt = {

0 commit comments

Comments
 (0)