1
Fork 0
mirror of https://github.com/RGBCube/alejandra synced 2025-07-30 12:07:46 +00:00

feat: add system pre-commit hook

This commit is contained in:
Loïc Reynier 2022-05-19 10:07:33 +02:00 committed by Kevin Amado
parent 7acde21fc5
commit 9c679956c8

View file

@ -1,7 +1,15 @@
- id: alejandra
name: alejandra
name: alejandra (Nix)
description: Format Nix code with Alejandra.
entry: .pre-commit-entry.sh
language: script
files: \.nix$
minimum_pre_commit_version: 1.18.1
- id: alejandra-system
name: alejandra (system)
description: Format Nix code with Alejandra.
entry: alejandra
language: system
files: \.nix$
args: ["-q"]