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:
parent
7acde21fc5
commit
9c679956c8
1 changed files with 9 additions and 1 deletions
|
@ -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"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue