~mna/snow unlisted

ref: b80c93389bef70627bad6a5d2db7398350b0ef65 snow/.golangci.toml -rw-r--r-- 749 bytes
b80c9338Martin Angers cmd/internal: add packages for command-line 1 year, 2 months ago
                                                                                
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
[linters]
  disable-all = true
  enable = [
    "deadcode",
    "errcheck",
    "gochecknoinits",
    "gochecknoglobals",
    "gofmt",
    "golint",
    "gosec",
    "gosimple",
    "govet",
    "ineffassign",
    "interfacer",
    "misspell",
    "nakedret",
    "prealloc",
    "staticcheck",
    "structcheck",
    "typecheck",
    "unconvert",
    "unparam",
    "unused",
    "varcheck",
  ]

[issues]
  # regexps of issue texts to exclude
  exclude = [
  ]

[[issues.exclude-rules]]
  # slices of test cases in resp are globals because reused in multiple tests
  path = 'pkg/compiler/token\.go'
  linters = ["gochecknoglobals", "gochecknoinits"]

[[issues.exclude-rules]]
  path = 'pkg/compiler/parser.*\.go'
  linters = ["gochecknoglobals"]