github.com/grailbio/bigslice@v0.0.0-20230519005545-30c4c12152ad/.golangci.yml (about) 1 run: 2 concurrency: 4 3 timeout: 1m 4 5 # exit code when at least one issue was found 6 issues-exit-code: 1 7 8 # include test files 9 tests: true 10 11 build-tags: 12 13 # which dirs to skip: issues from them won't be reported; 14 skip-dirs: 15 16 # enables skipping of default directories: 17 # vendor$, third_party$, testdata$, examples$, Godeps$, builtin$ 18 skip-dirs-use-default: true 19 20 # which files to skip: they will be analyzed, but issues from them won't be 21 # reported. 22 skip-files: 23 24 # disallow multiple parallel golangci-lint instances 25 allow-parallel-runners: false 26 27 output: 28 # colored-line-number|line-number|json|tab|checkstyle|code-climate 29 format: colored-line-number 30 31 # print lines of code with issue 32 print-issued-lines: true 33 34 # print linter name in the end of issue text 35 print-linter-name: true 36 37 # make issues output unique by line 38 uniq-by-line: true 39 40 linters-settings: 41 errcheck: 42 # do not report about not checking errors in type assertions: `a := 43 # b.(MyStruct)` 44 check-type-assertions: false 45 46 # do not report about assignment of errors to blank identifier: `num, _ := 47 # strconv.Atoi(numStr)` 48 check-blank: false 49 50 govet: 51 # report about shadowed variables 52 check-shadowing: true 53 54 # settings per analyzer 55 settings: 56 # run `go tool vet help` to see all analyzers 57 printf: 58 # run `go tool vet help printf` to see available settings for `printf` 59 # analyzer 60 funcs: 61 - (github.com/grailbio/base/log).Fatal 62 - (github.com/grailbio/base/log).Output 63 - (github.com/grailbio/base/log).Outputf 64 - (github.com/grailbio/base/log).Panic 65 - (github.com/grailbio/base/log).Panicf 66 - (github.com/grailbio/base/log).Print 67 - (github.com/grailbio/base/log).Printf 68 69 unused: 70 # do not report unused exported identifiers 71 check-exported: false 72 73 linters: 74 disable-all: true 75 fast: false 76 enable: 77 - deadcode 78 - goimports 79 - gosimple 80 - govet 81 - errcheck 82 - ineffassign 83 - staticcheck 84 - structcheck 85 - typecheck 86 - unused 87 - varcheck