1
Fork 0
mirror of https://github.com/RGBCube/alejandra synced 2025-07-29 19:47:45 +00:00
alejandra/integrations/pre-commit-hooks-nix
2022-06-13 12:46:50 -06:00
..
README.md docs: simplify readme 2022-06-13 12:46:50 -06:00

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;
    };
  };
}