github.com/vuuihc/gocedar@v0.1.0/.pre-commit-config.yaml (about)

     1  # See https://pre-commit.com for more information
     2  # See https://pre-commit.com/hooks.html for more hooks
     3  repos:
     4  -   repo: https://github.com/pre-commit/pre-commit-hooks
     5      rev: v4.0.1
     6      hooks:
     7      -   id: trailing-whitespace
     8          exclude: ^(3rd|doc)\/
     9      -   id: end-of-file-fixer
    10          exclude: ^(3rd|doc)\/
    11      -   id: check-added-large-files
    12  -   repo: https://github.com/dnephin/pre-commit-golang
    13      rev: v0.4.0
    14      hooks:
    15        - id: golangci-lint
    16          args:
    17              - "--fix"
    18        - id: go-mod-tidy