flake/dev: adapt to latest treefmt-nix option changes

This commit is contained in:
Gaetan Lepage
2026-01-24 06:08:49 +00:00
committed by Matt Sturgeon
parent 6c906e0873
commit a4522deb63
+8 -5
View File
@@ -18,6 +18,14 @@
nixf-diagnose = {
enable = true;
priority = -1;
ignore = [
"sema-primop-overridden"
"sema-unused-def-lambda-witharg-formal"
];
excludes = [
# sema-unused-def-lambda-noarg-formal
"ci/rust-analyzer/default.nix"
];
};
nixfmt = {
enable = true;
@@ -63,11 +71,6 @@
"docs/gfm-alerts-to-admonitions/tests/**/*.yml"
];
formatter.ruff-format.options = [ "--isolated" ];
formatter.nixf-diagnose.options = [
"--auto-fix"
"--ignore=sema-unused-def-lambda-witharg-formal"
"--ignore=sema-primop-overridden"
];
};
};