1repos:
2- repo: https://github.com/pre-commit/pre-commit-hooks
3  rev: v3.3.0
4  hooks:
5  - id: trailing-whitespace
6  - id: check-added-large-files
7  - id: check-json
8  - id: pretty-format-json
9    args: ['--autofix']
10  - id: check-merge-conflict
11  - id: check-symlinks
12  - id: check-yaml
13  - id: detect-private-key
14  - id: check-merge-conflict
15  - id: check-executables-have-shebangs
16  - id: end-of-file-fixer
17  - id: mixed-line-ending
18- repo:  https://github.com/golangci/golangci-lint
19  rev: v1.32.2
20  hooks:
21  - id: golangci-lint
22