2023-03-02 10:56:11 +00:00
|
|
|
ci:
|
|
|
|
autofix_prs: false
|
|
|
|
|
|
|
|
repos:
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
|
|
rev: v4.4.0
|
|
|
|
hooks:
|
|
|
|
- id: check-added-large-files
|
|
|
|
- id: check-case-conflict
|
|
|
|
- id: check-executables-have-shebangs
|
|
|
|
- id: check-shebang-scripts-are-executable
|
|
|
|
- id: check-merge-conflict
|
|
|
|
- id: check-json
|
|
|
|
- id: check-xml
|
|
|
|
- id: check-yaml
|
|
|
|
- id: trailing-whitespace
|
|
|
|
args: [--markdown-linebreak-ext=md]
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
exclude: ".key$"
|
2023-03-02 11:06:56 +00:00
|
|
|
|
|
|
|
- repo: https://github.com/golangci/golangci-lint
|
|
|
|
rev: v1.51.2
|
|
|
|
hooks:
|
|
|
|
- id: golangci-lint
|
2023-03-02 11:08:31 +00:00
|
|
|
|
|
|
|
- repo: https://github.com/jorisroovers/gitlint
|
|
|
|
rev: v0.18.0
|
|
|
|
hooks:
|
|
|
|
- id: gitlint
|
|
|
|
stages: [commit-msg]
|
2023-03-02 11:38:00 +00:00
|
|
|
|
2023-03-15 11:35:50 +00:00
|
|
|
- repo: https://github.com/shellcheck-py/shellcheck-py
|
|
|
|
rev: v0.9.0.2
|
2023-03-02 11:38:00 +00:00
|
|
|
hooks:
|
2023-03-15 11:35:50 +00:00
|
|
|
- id: shellcheck
|