# Pre-commit hooks for this repo. # # Created when the shared markdown-naming gate was rolled out. The checks # are `language: system` because they are plain bash already on this # machine; pre-commit must not build an isolated env for them. repos: - repo: local hooks: # Four markdown namespaces (README / CLAUDE* / DOCS* / TODO*), plus the # rule that a TODO carries "REMOVE ME AFTER FINISH" and nothing else may. # Shared gate in ~/utils owns the namespaces and the exemption list, so # one repo's idea of a valid name cannot drift from every other repo's. - id: md-naming name: markdown naming convention entry: scripts/check_md_naming.sh language: system files: \.(md|markdown)$