File: .golangci.yml

package info (click to toggle)
golang-github-opencontainers-image-spec 1.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 576 kB
  • sloc: makefile: 115
file content (32 lines) | stat: -rw-r--r-- 472 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
run:
  timeout: 10m

linters:
  disable-all: true
  enable:
    - dupl
    - errorlint
    - gofmt
    - goimports
    - gomodguard
    - gosimple
    - govet
    - ineffassign
    - misspell
    - nakedret
    - revive
    - unused
    - staticcheck

linters-settings:
  gofmt:
    simplify: true
  gomodguard:
    blocked:
      modules:
        - github.com/pkg/errors:
            recommendations:
              - errors
              - fmt
  dupl:
    threshold: 400