symgraph 2026.6.20

Semantic code intelligence library and MCP server - build knowledge graphs of codebases
Documentation
# Configuration file for `prek`, a git hook framework written in Rust.
# See https://prek.j178.dev for more information.
#:schema https://www.schemastore.org/prek.json

[[repos]]
repo = "https://github.com/pre-commit/pre-commit-hooks"
rev = "v6.0.0"
hooks = [
  { id = "trailing-whitespace" },
  { id = "end-of-file-fixer" },
  { id = "check-yaml" },
  { id = "check-toml" },
  { id = "check-added-large-files" }
]

[[repos]]
repo = "https://github.com/gitleaks/gitleaks"
rev = "v8.30.1"
hooks = [
  {
    id = "gitleaks",
    name = "Detect hardcoded secrets",
    description = "Detect hardcoded secrets using Gitleaks",
    entry = "gitleaks git --pre-commit --redact --staged --verbose",
    language = "golang",
    pass_filenames = false
  }
]

[[repos]]
repo = "https://github.com/betterleaks/betterleaks"
rev = "v1.5.0"
hooks = [
  {
    id = "betterleaks",
    name = "Detect secrets",
    entry = "betterleaks git --pre-commit --redact --staged --verbose"
  }
]