chore: add .pre-commit-config.yaml with core hooks

This commit is contained in:
Jacob Kraniak 2026-05-19 21:36:54 -04:00
parent dfb262aad5
commit d550a00481
1 changed files with 30 additions and 0 deletions

30
.pre-commit-config.yaml Normal file
View File

@ -0,0 +1,30 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
args: ['--maxkb=500']
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.44.0
hooks:
- id: markdownlint
args: ["--config", ".markdownlint.json"]
- repo: https://github.com/tcort/markdown-link-check
rev: v3.13.7
hooks:
- id: markdown-link-check
args: ["--config", ".markdown-link-check.json"]
- repo: local
hooks:
- id: validate-tool-tables
name: Validate Tool Table Schema
entry: python scripts/validate-tool-tables.py
language: python
files: ^tools/.*\.md$
types: [markdown]