From b9e009b0cb210d16402227c9b84659419f0128ee Mon Sep 17 00:00:00 2001 From: Martin Berg Alstad Date: Wed, 16 Apr 2025 14:15:54 +0200 Subject: [PATCH] :sparkles: [shell] Added shell for formatting entire repo --- shell.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/shell.nix b/shell.nix index c8df6ec..7047a58 100644 --- a/shell.nix +++ b/shell.nix @@ -10,4 +10,13 @@ nh ]; }; + # Formatters needed for 'just fmt' + format = pkgs.mkShell { + packages = with pkgs; [ + nodePackages.prettier + nixfmt-rfc-style + treefmt + shfmt + ]; + }; }