File: .golangci.yml

package info (click to toggle)
golang-github-opencontainers-image-spec 1.1.0~rc4-3~bpo12%2B1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-backports
  • size: 564 kB
  • sloc: makefile: 112
file content (26 lines) | stat: -rw-r--r-- 340 bytes parent folder | download | duplicates (4)
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
run:
  timeout: 10m

linters:
  disable-all: true
  enable:
    - deadcode
    - dupl
    - gofmt
    - goimports
    - gosimple
    - govet
    - ineffassign
    - misspell
    - nakedret
    - revive
    - structcheck
    - unused
    - varcheck
    - staticcheck

linters-settings:
  gofmt:
    simplify: true
  dupl:
    threshold: 400