Skip to content

feat: add treefmt-and-git-hooks template#143

Merged
zimbatm merged 1 commit intonumtide:mainfrom
sei40kr:add-treefmt-and-git-hooks-template
Jan 25, 2026
Merged

feat: add treefmt-and-git-hooks template#143
zimbatm merged 1 commit intonumtide:mainfrom
sei40kr:add-treefmt-and-git-hooks-template

Conversation

@sei40kr
Copy link
Contributor

@sei40kr sei40kr commented Jan 24, 2026

Summary

  • Add a new template treefmt-and-git-hooks that sets up treefmt and git-hooks.nix with blueprint
  • Includes formatter configuration with nixfmt
  • Pre-commit hooks for nil, statix, and treefmt

Template structure

templates/treefmt-and-git-hooks/
├── .envrc
├── .gitignore
├── flake.nix
└── nix/
    ├── checks/
    │   └── pre-commit-check.nix
    ├── devshell.nix
    ├── formatter.nix
    └── treefmt.nix

@zimbatm zimbatm merged commit c4b2391 into numtide:main Jan 25, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants