Skip to content

Latest commit

 

History

History
15 lines (13 loc) · 314 Bytes

File metadata and controls

15 lines (13 loc) · 314 Bytes

Pre-commit-hooks.nix integration

In order to use Alejandra with pre-commit-hooks.nix use a configuration file like the following:

{
  pre-commit-check = pre-commit-hooks.lib.${system}.run {
    hooks = {
      alejandra.enable = true;
    };
  };
}