From d550a0048190924185e7b786ba9a941549baccb4 Mon Sep 17 00:00:00 2001 From: Jacob Kraniak <113630934+jacob-kraniak@users.noreply.github.com> Date: Tue, 19 May 2026 21:36:54 -0400 Subject: [PATCH] chore: add .pre-commit-config.yaml with core hooks --- .pre-commit-config.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..ffda743 --- /dev/null +++ b/.pre-commit-config.yaml @@ -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] \ No newline at end of file