khenaidoo | 7d3c558 | 2021-08-11 18:09:44 -0400 | [diff] [blame] | 1 | run: |
2 | timeout: 5m | ||||
3 | deadline: 10m | ||||
4 | |||||
5 | linters-settings: | ||||
6 | govet: | ||||
7 | check-shadowing: false | ||||
8 | golint: | ||||
9 | min-confidence: 0 | ||||
10 | gocyclo: | ||||
11 | min-complexity: 99 | ||||
12 | maligned: | ||||
13 | suggest-new: true | ||||
14 | dupl: | ||||
15 | threshold: 100 | ||||
16 | goconst: | ||||
17 | min-len: 2 | ||||
18 | min-occurrences: 3 | ||||
19 | misspell: | ||||
20 | locale: US | ||||
21 | goimports: | ||||
22 | local-prefixes: github.com/Shopify/sarama | ||||
23 | gocritic: | ||||
24 | enabled-tags: | ||||
25 | - diagnostic | ||||
26 | - experimental | ||||
27 | - opinionated | ||||
28 | - performance | ||||
29 | - style | ||||
30 | disabled-checks: | ||||
31 | - wrapperFunc | ||||
32 | - ifElseChain | ||||
33 | funlen: | ||||
34 | lines: 300 | ||||
35 | statements: 300 | ||||
36 | |||||
37 | linters: | ||||
38 | disable-all: true | ||||
39 | enable: | ||||
40 | - bodyclose | ||||
41 | - deadcode | ||||
42 | - depguard | ||||
43 | - dogsled | ||||
44 | # - dupl | ||||
45 | - errcheck | ||||
46 | - funlen | ||||
47 | - gochecknoinits | ||||
48 | # - goconst | ||||
49 | # - gocritic | ||||
50 | - gocyclo | ||||
51 | - gofmt | ||||
52 | - goimports | ||||
53 | # - golint | ||||
54 | - gosec | ||||
55 | # - gosimple | ||||
56 | - govet | ||||
57 | # - ineffassign | ||||
58 | # - misspell | ||||
59 | # - nakedret | ||||
60 | # - scopelint | ||||
61 | - staticcheck | ||||
62 | - structcheck | ||||
63 | # - stylecheck | ||||
64 | - typecheck | ||||
65 | - unconvert | ||||
66 | - unused | ||||
67 | - varcheck | ||||
68 | - whitespace | ||||
69 | |||||
70 | issues: | ||||
71 | exclude: | ||||
72 | - "G404: Use of weak random number generator" | ||||
73 | # maximum count of issues with the same text. set to 0 for unlimited. default is 3. | ||||
74 | max-same-issues: 0 |