File: .golangci.yml

package info (click to toggle)
golang-github-containers-ocicrypt 1.1.10-3
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 540 kB
  • sloc: sh: 242; makefile: 17
file content (35 lines) | stat: -rw-r--r-- 557 bytes parent folder | download | duplicates (3)
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
33
34
35
linters:
  enable:
    - depguard
    - staticcheck
    - unconvert
    - gofmt
    - goimports
    - revive
    - ineffassign
    - vet
    - unused
    - misspell

linters-settings:
  depguard:
    rules:
      main:
        files:
          - $all
        deny:
          - pkg: "io/ioutil"

  revive:
    severity: error
    rules:
      - name: indent-error-flow
        severity: warning
        disabled: false

      - name: error-strings
        disabled: false

  staticcheck:
    # Suppress reports of deprecated packages
    checks: ["-SA1019"]