mirror of
https://github.com/RGBCube/alejandra
synced 2025-08-01 21:17:45 +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
|
- id: alejandra
|
||||||
name: alejandra
|
name: alejandra (Nix)
|
||||||
description: Format Nix code with Alejandra.
|
description: Format Nix code with Alejandra.
|
||||||
entry: .pre-commit-entry.sh
|
entry: .pre-commit-entry.sh
|
||||||
language: script
|
language: script
|
||||||
files: \.nix$
|
files: \.nix$
|
||||||
minimum_pre_commit_version: 1.18.1
|
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