Closed juangiordana closed 7 months ago
@juangiordana Cool, thanks! 😊
How did you format the nix code? Maybe that could be documented for future contributors... (and me 😂)
On the contrary, thank you! This is helping me a lot to keep up with the Prisma version we're using at work.
For formatting I'm using nixfmt-rfc-style
which is about to be included as the default style for formatting nix files:
https://github.com/serokell/nixfmt
I'm using it with neovim
+ none-ls
, but it can be added easily to the flake output to format all the Nix files in the flake using nix fmt
command. See here for an implementation using alejandra
: https://github.com/Misterio77/nix-starter-configs/blob/main/standard/flake.nix
I can add it to the flake and send you a PR later if you want.
@juangiordana I'd be interested in that. I'm using VSCode, though. I'll have to look up if it can be integrated there :)
fix(typo): Add missing
;
.