File: .pre-commit-config.yaml

package info (click to toggle)
golang-github-compose-spec-compose-go 2.4.8-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,628 kB
  • sloc: makefile: 36; sh: 8
file content (16 lines) | stat: -rw-r--r-- 470 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
repos:
    -   repo: https://github.com/pre-commit/pre-commit-hooks
        rev: v2.4.0
        hooks:
        -   id: check-yaml
            exclude: '^vendor/'
        -   id: end-of-file-fixer
            exclude: '^vendor/'
        -   id: trailing-whitespace
            exclude: '^vendor/'
    -   repo: https://github.com/dnephin/pre-commit-golang
        rev: v0.3.5
        hooks:
          - id: go-fmt
          - id: golangci-lint
          - id: go-imports