Pragya Arya | 324337e | 2020-02-20 14:35:08 +0530 | [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 | # - gocritic | ||||
48 | - gocyclo | ||||
49 | - gofmt | ||||
50 | # - goimports | ||||
51 | # - golint | ||||
52 | # - gosec | ||||
53 | # - gosimple | ||||
54 | - govet | ||||
55 | # - ineffassign | ||||
56 | # - interfacer | ||||
57 | # - misspell | ||||
58 | # - nakedret | ||||
59 | # - scopelint | ||||
60 | # - staticcheck | ||||
61 | # - structcheck | ||||
62 | # - stylecheck | ||||
63 | - typecheck | ||||
64 | # - unconvert | ||||
65 | # - unused | ||||
66 | # - varcheck | ||||
67 | - whitespace | ||||
68 | # - goconst | ||||
69 | # - gochecknoinits | ||||
70 | |||||
71 | issues: | ||||
72 | exclude: | ||||
73 | - consider giving a name to these results | ||||
74 | - include an explanation for nolint directive |