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:
parent
00670576da
commit
dcaed43358
2 changed files with 10 additions and 0 deletions
7
.pre-commit-hooks.yaml
Normal file
7
.pre-commit-hooks.yaml
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue