github.com/fraugster/parquet-go@v0.12.0/.golangci.yml (about) 1 linters-settings: 2 govet: 3 check-shadowing: true 4 golint: 5 min-confidence: 0 6 gocyclo: 7 min-complexity: 10 8 maligned: 9 suggest-new: true 10 dupl: 11 threshold: 100 12 goconst: 13 min-len: 2 14 min-occurrences: 2 15 misspell: 16 misspell: 17 locale: ~ # use a neutral variety of English (both UK and US are fine) 18 19 gocritic: 20 enabled-tags: 21 - performance 22 - style 23 - experimental 24 disabled-checks: 25 - wrapperFunc 26 27 linters: 28 enable-all: true 29 disable: 30 - lll 31 - scopelint 32 - gochecknoglobals 33 - goconst 34 - gocyclo 35 - funlen 36 - godox 37 - wsl 38 - unparam 39 - dupl 40 - gocritic 41 - gocognit 42 - gochecknoinits 43 - testpackage 44 - nestif 45 - gomnd 46 - godot 47 run: 48 # timeout for analysis, e.g. 30s, 5m, default is 1m 49 deadline: 5m 50 skip-dirs: 51 - vendor 52 53 issues: 54 # Maximum issues count per one linter. Set to 0 to disable. Default is 50. 55 max-issues-per-linter: 0 56 57 # Maximum count of issues with the same text. Set to 0 to disable. Default is 3. 58 max-same-issues: 0 59 60 exclude-rules: 61 - path: ".*_test.go" 62 text: "Use of weak random number generator" 63 linters: [gosec] 64 - path: ".*_test.go" 65 text: "shadows declaration" 66 linters: [govet] 67