.pre-commit-config.yaml
---# installation: `pre-commit install`default_install_hook_types: - pre-commit - commit-msgrepos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.4.0 hooks: - id: check-merge-conflict - id: end-of-file-fixer - id: trailing-whitespace args: - "--markdown-linebreak-ext=md" - repo: https://github.com/Yelp/detect-secrets rev: v1.4.0 hooks: - id: detect-secrets exclude: go.* - repo: https://github.com/TekWizely/pre-commit-golang rev: v1.0.0-rc.1 hooks: - id: golangci-lint-mod - repo: https://github.com/semgrep/semgrep rev: v1.48.0 hooks: - id: semgrep-ci