github.com/night-codes/go-json@v0.9.15/.golangci.yml (about) 1 run: 2 skip-files: 3 - encode_optype.go 4 - ".*_test\\.go$" 5 6 linters-settings: 7 govet: 8 enable-all: true 9 disable: 10 - shadow 11 12 linters: 13 enable-all: true 14 disable: 15 - dogsled 16 - dupl 17 - exhaustive 18 - exhaustivestruct 19 - errorlint 20 - forbidigo 21 - funlen 22 - gci 23 - gochecknoglobals 24 - gochecknoinits 25 - gocognit 26 - gocritic 27 - gocyclo 28 - godot 29 - godox 30 - goerr113 31 - gofumpt 32 - gomnd 33 - gosec 34 - ifshort 35 - lll 36 - makezero 37 - nakedret 38 - nestif 39 - nlreturn 40 - paralleltest 41 - testpackage 42 - thelper 43 - wrapcheck 44 - interfacer 45 - lll 46 - nakedret 47 - nestif 48 - nlreturn 49 - testpackage 50 - wsl 51 - varnamelen 52 - nilnil 53 - ireturn 54 - govet 55 - forcetypeassert 56 - cyclop 57 - containedctx 58 - revive 59 60 issues: 61 exclude-rules: 62 # not needed 63 - path: /*.go 64 text: "ST1003: should not use underscores in package names" 65 linters: 66 - stylecheck 67 - path: /*.go 68 text: "don't use an underscore in package name" 69 linters: 70 - golint 71 - path: rtype.go 72 linters: 73 - golint 74 - stylecheck 75 - path: error.go 76 linters: 77 - staticcheck 78 79 # Maximum issues count per one linter. Set to 0 to disable. Default is 50. 80 max-issues-per-linter: 0 81 82 # Maximum count of issues with the same text. Set to 0 to disable. Default is 3. 83 max-same-issues: 0