master/.pre-commit-config.yaml

30 lines
813 B
YAML

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]