Files
home-manager/treefmt.toml
Austin Horstman 9fff37e6ff flake: add nixf-diagnose to treefmt
Start off conservative ignoring more things. Handle the simple auto-fix
things initially.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2026-01-08 16:30:04 -05:00

26 lines
563 B
TOML

on-unmatched = "info"
tree-root-file = "release.json"
[formatter.nixfmt]
command = "nixfmt"
includes = [ "*.nix" ]
[formatter.deadnix]
command = "deadnix"
options = [ "--edit", "--no-lambda-arg", "--no-lambda-pattern-names" ]
includes = [ "*.nix" ]
[formatter.nixf-diagnose]
command = "nixf-diagnose"
options = [
"--auto-fix",
"--ignore=sema-unused-def-lambda-witharg-formal",
"--ignore=sema-unused-def-lambda-noarg-formal",
"--ignore=sema-primop-overridden"
]
includes = [ "*.nix" ]
[formatter.keep-sorted]
command = "keep-sorted"
includes = [ "*" ]