From b8b0e47a8049b95243f67c69763a903f4101c6c4 Mon Sep 17 00:00:00 2001 From: Paul Meyer <49727155+katexochen@users.noreply.github.com> Date: Mon, 22 Jan 2024 10:33:45 +0100 Subject: [PATCH] treefmt: add keep-sorted Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com> --- treefmt.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/treefmt.nix b/treefmt.nix index 5ea42c14ad..32890048c8 100644 --- a/treefmt.nix +++ b/treefmt.nix @@ -2,12 +2,15 @@ _: { projectRootFile = "flake.nix"; programs = { - nixpkgs-fmt.enable = true; + # keep-sorted start deadnix.enable = true; + just.enable = true; + keep-sorted.enable = true; + nixpkgs-fmt.enable = true; shellcheck.enable = true; shfmt.enable = true; statix.enable = true; yamlfmt.enable = true; - just.enable = true; + # keep-sorted end }; }