Skip to content

Commit

Permalink
Merge pull request #143 from cisagov/add-nixfmt
Browse files Browse the repository at this point in the history
Add nixfmt pre-commit hook
  • Loading branch information
mcdonnnj authored Sep 13, 2023
2 parents 338e3e1 + 82db36a commit 8432f1e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,12 @@ repos:
# GoSec
- id: go-sec-repo-mod

# Nix hooks
- repo: https://github.com/nix-community/nixpkgs-fmt
rev: v1.3.0
hooks:
- id: nixpkgs-fmt

# Shell script hooks
- repo: https://github.com/cisagov/pre-commit-shfmt
rev: v0.0.2
Expand Down

0 comments on commit 8432f1e

Please sign in to comment.