File: .golangci.yml

package info (click to toggle)
golang-github-go-jose-go-jose 4.0.5-1~bpo12%2B1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-backports
  • size: 1,064 kB
  • sloc: makefile: 9
file content (53 lines) | stat: -rw-r--r-- 991 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# https://github.com/golangci/golangci-lint

run:
  skip-files:
    - doc_test.go
  modules-download-mode: readonly

linters:
  enable-all: true
  disable:
    - gochecknoglobals
    - goconst
    - lll
    - maligned
    - nakedret
    - scopelint
    - unparam
    - funlen # added in 1.18 (requires go-jose changes before it can be enabled)

linters-settings:
  gocyclo:
    min-complexity: 35

issues:
  exclude-rules:
    - text: "don't use ALL_CAPS in Go names"
      linters:
        - golint
    - text: "hardcoded credentials"
      linters:
        - gosec
    - text: "weak cryptographic primitive"
      linters:
        - gosec
    - path: json/
      linters:
        - dupl
        - errcheck
        - gocritic
        - gocyclo
        - golint
        - govet
        - ineffassign
        - staticcheck
        - structcheck
        - stylecheck
        - unused
    - path: _test\.go
      linters:
        - scopelint
    - path: jwk.go
      linters:
        - gocyclo