srid/haskell-flake

Add `pre-commit-nix` documentation

Open

#136 opened on Mar 31, 2023

 (0 comments) (0 reactions) (0 assignees)Nix (26 forks)github user discovery
documentationgood first issue

Repository metrics

Stars
 (231 stars)
PR merge metrics
 (Avg merge 9h 49m) (1 merged PR in 30d)

Description

  • How to use pre-commit to enable existing hooks (eg: treefmt)
  • How to write new hooks (via imports for better modularizing)

Ex: https://github.com/nammayatri/nammayatri/pull/361

Contributor guide