Skip to content

Commit

Permalink
Add nixfmt pre-commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonodoom committed Aug 28, 2023
1 parent bd762fe commit 82db36a
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 82db36a

Please sign in to comment.