.pre-commit-config.yaml 489 B

12345678910111213141516
  1. repos:
  2. - repo: https://github.com/pre-commit/pre-commit-hooks
  3. rev: v4.4.0
  4. hooks:
  5. - id: check-yaml
  6. - id: check-added-large-files
  7. - repo: https://github.com/golangci/golangci-lint # golangci-lint hook repo
  8. rev: v1.47.3 # golangci-lint hook repo revision
  9. hooks:
  10. - id: golangci-lint
  11. name: golangci-lint
  12. description: Fast linters runner for Go.
  13. entry: golangci-lint run --fix
  14. types: [go]
  15. language: golang
  16. pass_filenames: false