| 1 | run: |
| 2 | concurrency: 4 |
| 3 | deadline: 1m |
| 4 | issues-exit-code: 1 |
| 5 | tests: true |
| 6 | |
| 7 | |
| 8 | output: |
| 9 | format: colored-line-number |
| 10 | print-issued-lines: true |
| 11 | print-linter-name: true |
| 12 | |
| 13 | |
| 14 | linters-settings: |
| 15 | errcheck: |
| 16 | check-type-assertions: false |
| 17 | check-blank: false |
| 18 | govet: |
| 19 | check-shadowing: false |
| 20 | use-installed-packages: false |
| 21 | golint: |
| 22 | min-confidence: 0.8 |
| 23 | gofmt: |
| 24 | simplify: true |
| 25 | gocyclo: |
| 26 | min-complexity: 10 |
| 27 | maligned: |
| 28 | suggest-new: true |
| 29 | dupl: |
| 30 | threshold: 80 |
| 31 | goconst: |
| 32 | min-len: 3 |
| 33 | min-occurrences: 3 |
| 34 | misspell: |
| 35 | locale: US |
| 36 | lll: |
| 37 | line-length: 120 |
| 38 | unused: |
| 39 | check-exported: false |
| 40 | unparam: |
| 41 | algo: cha |
| 42 | check-exported: false |
| 43 | nakedret: |
| 44 | max-func-lines: 30 |
| 45 | |
| 46 | linters: |
| 47 | enable: |
| 48 | - megacheck |
| 49 | - govet |
| 50 | - errcheck |
| 51 | - gas |
| 52 | - structcheck |
| 53 | - varcheck |
| 54 | - ineffassign |
| 55 | - deadcode |
| 56 | - typecheck |
| 57 | - golint |
| 58 | - interfacer |
| 59 | - unconvert |
| 60 | - gocyclo |
| 61 | - gofmt |
| 62 | - misspell |
| 63 | - lll |
| 64 | - nakedret |
| 65 | enable-all: false |
| 66 | disable: |
| 67 | - depguard |
| 68 | - prealloc |
| 69 | - dupl |
| 70 | - maligned |
| 71 | disable-all: false |
| 72 | |
| 73 | |
| 74 | issues: |
| 75 | exclude-use-default: false |
| 76 | max-per-linter: 1024 |
| 77 | max-same: 1024 |
| 78 | exclude: |
| 79 | - "G304" |
| 80 | - "G101" |
| 81 | - "G104" |