Files
ldaps/.pre-commit-config.yaml
2023-03-22 09:44:39 -07:00

26 lines
677 B
YAML

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-case-conflict
- id: fix-byte-order-marker
- id: mixed-line-ending
args: [--fix=lf]
- id: trailing-whitespace
- repo: local
hooks:
- id: goimports
name: go imports
entry: goimports
args: [-w, -l]
language: golang
types: [go]
additional_dependencies: [golang.org/x/tools/cmd/goimports@latest]
- repo: https://github.com/golangci/golangci-lint
rev: v1.51.2
hooks:
- id: golangci-lint