Skip to content

Commit 9c67995

Browse files
loicreynierkamadorueda
authored andcommitted
feat: add system pre-commit hook
1 parent 7acde21 commit 9c67995

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.pre-commit-hooks.yaml

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
11
- id: alejandra
2-
name: alejandra
2+
name: alejandra (Nix)
33
description: Format Nix code with Alejandra.
44
entry: .pre-commit-entry.sh
55
language: script
66
files: \.nix$
77
minimum_pre_commit_version: 1.18.1
8+
9+
- id: alejandra-system
10+
name: alejandra (system)
11+
description: Format Nix code with Alejandra.
12+
entry: alejandra
13+
language: system
14+
files: \.nix$
15+
args: ["-q"]

0 commit comments

Comments
 (0)