github.com/iqoqo/nomad@v0.11.3-0.20200911112621-d7021c74d101/.golangci.yml (about) 1 run: 2 # timeout for analysis, e.g. 30s, 5m, default is 1m 3 deadline: 10m 4 5 tests: false 6 7 # which dirs to skip: they won't be analyzed; 8 # can use regexp here: generated.*, regexp is applied on full path; 9 # default value is empty list, but next dirs are always skipped independently 10 # from this option's value: 11 # vendor$, third_party$, testdata$, examples$, Godeps$, builtin$ 12 skip-dirs: 13 - ui 14 15 # which files to skip: they will be analyzed, but issues from them 16 # won't be reported. Default value is empty list, but there is 17 # no need to include all autogenerated files, we confidently recognize 18 # autogenerated files. If it's not please let us know. 19 skip-files: 20 - ".*\\.generated\\.go$" 21 - ".*bindata_assetfs\\.go$" 22 23 # output configuration options 24 output: 25 # colored-line-number|line-number|json|tab|checkstyle|code-climate, default is "colored-line-number" 26 format: colored-line-number 27 28 # print lines of code with issue, default is true 29 print-issued-lines: true 30 31 # print linter name in the end of issue text, default is true 32 print-linter-name: true 33 34 # all available settings of specific linters 35 linters-settings: 36 errcheck: 37 # report about not checking of errors in type assetions: `a := b.(MyStruct)`; 38 # default is false: such cases aren't reported by default. 39 check-type-assertions: false 40 41 # [deprecated] comma-separated list of pairs of the form pkg:regex 42 # the regex is used to ignore names within pkg. (default "fmt:.*"). 43 # see https://github.com/kisielk/errcheck#the-deprecated-method for details 44 ignore: fmt:.*,io/ioutil:^Read.* 45 46 # path to a file containing a list of functions to exclude from checking 47 # see https://github.com/kisielk/errcheck#excluding-functions for details 48 # exclude: /path/to/file.txt 49 govet: 50 # report about shadowed variables 51 check-shadowing: false 52 gofmt: 53 # simplify code: gofmt with `-s` option, true by default 54 simplify: true 55 56 linters: 57 disable-all: true 58 enable: 59 - goimports 60 - misspell 61 - govet 62 - deadcode 63 - varcheck 64 - ineffassign 65 - structcheck 66 - unconvert 67 - gofmt 68 # Stretch Goal 69 #- maligned 70 fast: false 71