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

feat: add pre-commit hook

This commit is contained in:
Loïc Reynier 2022-05-02 13:34:45 +02:00 committed by Kevin Amado
parent 00670576da
commit dcaed43358
2 changed files with 10 additions and 0 deletions

7
.pre-commit-hooks.yaml Normal file
View file

@ -0,0 +1,7 @@
- id: alejandra
name: alejandra
description: Format Nix code with Alejandra.
entry: .pre-commit-entry.sh
language: script
files: \.nix$
minimum_pre_commit_version: 1.18.1