repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.5.0 hooks: - id: check-merge-conflict exclude: ^examples/ - id: mixed-line-ending args: ["--fix=lf"] exclude: ^examples/ - id: end-of-file-fixer exclude: ^examples/ - id: trailing-whitespace exclude: ^examples/ - id: check-yaml exclude: ^examples/ - repo: https://github.com/golangci/golangci-lint rev: v2.4.0 hooks: - id: golangci-lint args: ["--config=.golangci.yml"] exclude: ^examples/