Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

Add gitleaks, shellcheck, and eslint pre-commit hooks

LearningCircuite6d5de2fda36
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 9e276e1425..75f67bc426 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -10,6 +10,27 @@ repos:
args: ['--maxkb=1000']
- id: check-case-conflict
- id: forbid-new-submodules
+ - repo: https://github.com/gitleaks/gitleaks
+ rev: v8.24.3
+ hooks:
+ - id: gitleaks
+ name: Detect secrets with gitleaks
+ description: "Detect hardcoded secrets like passwords, API keys, and tokens"
+ - repo: https://github.com/shellcheck-py/shellcheck-py
+ rev: v0.10.0.1
+ hooks:
+ - id: shellcheck
+ name: Shellcheck - lint shell scripts
+ description: "Shell script static analysis tool"
+ - repo: https://github.com/pre-commit/mirrors-eslint
+ rev: v9.27.0
+ hooks:
+ - id: eslint
+ name: ESLint - lint JavaScript
+ files: \.(js|mjs)$
+ exclude: (node_modules|dist|build|\.min\.js)
+ additional_dependencies:
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.14.5