github.com/TeaOSLab/EdgeNode@v1.3.8/.golangci.yaml (about) 1 # https://golangci-lint.run/usage/configuration/ 2 3 linters: 4 enable-all: true 5 disable: 6 - ifshort 7 - exhaustivestruct 8 - golint 9 - nosnakecase 10 - scopelint 11 - varcheck 12 - structcheck 13 - interfacer 14 - maligned 15 - deadcode 16 - dogsled 17 - wrapcheck 18 - wastedassign 19 - varnamelen 20 - testpackage 21 - thelper 22 - nilerr 23 - sqlclosecheck 24 - paralleltest 25 - nonamedreturns 26 - nlreturn 27 - nakedret 28 - ireturn 29 - interfacebloat 30 - gosmopolitan 31 - gomnd 32 - goerr113 33 - gochecknoglobals 34 - exhaustruct 35 - errorlint 36 - depguard 37 - exhaustive 38 - containedctx 39 - wsl 40 - cyclop 41 - dupword 42 - errchkjson 43 - contextcheck 44 - tagalign 45 - dupl 46 - forbidigo 47 - funlen 48 - goconst 49 - godox 50 - gosec 51 - lll 52 - nestif 53 - revive 54 - unparam 55 - stylecheck 56 - gocritic 57 - gofumpt 58 - gomoddirectives 59 - godot 60 - gofmt 61 - gocognit 62 - mirror 63 - gocyclo 64 - gochecknoinits 65 - gci 66 - maintidx 67 - prealloc 68 - goimports 69 - errname 70 - musttag 71 - forcetypeassert 72 - whitespace 73 - noctx 74 - rowserrcheck 75 - tagliatelle 76 - protogetter