Closed a-kenji closed 7 months ago
Adds treefmt through the treefmt-nix module.
treefmt
treefmt-nix
This allows the following integration:
nix fmt
devShell
nix flake check
All of these options use the same configuration and will share evaluation cache.
Initalize with the following formatters/linters:
Adds
treefmt
through thetreefmt-nix
module.This allows the following integration:
nix fmt
: format the code throughnix fmt
treefmt
: exposes a wrapped, configuredtreefmt
inside thedevShell
nix flake check
: check and lint the code locally, or the ciAll of these options use the same configuration and will share evaluation cache.
Initalize with the following formatters/linters: