...
1run:
2 deadline: 120s
3 tests: false
4
5linters:
6 enable:
7 - bodyclose
8 - deadcode
9 - depguard
10 - dupl
11 - errcheck
12 - gochecknoglobals
13 - gochecknoinits
14 #- goconst # disabling goconst because our multiple uses of strings like "key" aren't always for the same purpose
15 - gocritic
16 - gocyclo
17 - godox
18 - gofmt
19 - goimports
20 - gosec
21 - gosimple
22 - govet
23 - ineffassign
24 - lll
25 - megacheck
26 - misspell
27 - nakedret
28 - nolintlint
29 - prealloc
30 - revive
31 - staticcheck
32 - stylecheck
33 - typecheck
34 - unconvert
35 - unparam
36 - unused
37 - varcheck
38 - whitespace
39 fast: false
40
41linters-settings:
42 gofmt:
43 simplify: false
44 goimports:
45 local-prefixes: github.com/launchdarkly
46
47issues:
48 exclude-use-default: false
49 max-same-issues: 1000
50 max-per-linter: 1000
View as plain text