github.com/instill-ai/component@v0.16.0-beta/.pre-commit-config.yaml (about)

     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-json
     7        - id: check-merge-conflict
     8        - id: end-of-file-fixer
     9        - id: trailing-whitespace
    10        - id: pretty-format-json
    11          args: [--autofix, --no-sort-keys]
    12    - repo: https://github.com/dnephin/pre-commit-golang
    13      rev: v0.5.1
    14      hooks:
    15        - id: golangci-lint
    16        - id: go-mod-tidy
    17    - repo: https://github.com/pinglin/conventional-pre-commit
    18      rev: v1.1.0
    19      hooks:
    20        - id: conventional-pre-commit
    21          stages: [commit-msg]