Skip to content

Commit cce7add

Browse files
committed
feat(hook): added frontmatter-validation hook
1 parent 980be01 commit cce7add

3 files changed

Lines changed: 806 additions & 1 deletion

File tree

.pre-commit-hooks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@
315315
- id: validate-frontmatter
316316
name: Validate Markdown Frontmatter
317317
description: Validate frontmatter UUIDs and cross-references in markdown files
318-
entry: validate-frontmatter
318+
entry: hooks/python/validate-frontmatter/validate_frontmatter
319319
language: python
320320
files: \.md$
321321
exclude: ^(README\.md|CHANGELOG\.md|\.github/.*\.md|\.ai/templates/.*|\.ai/artifacts/.*|docs/prompts/.*|docs/project-knowledge/user/.*)$
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
"""aRustyDev's pre-commit hooks collection."""
2+
3+
__version__ = "0.2.1"

0 commit comments

Comments
 (0)