github.com/brandur/modulir@v0.0.0-20240305213423-94ee82929cbd/.golangci.yml (about) 1 linters: 2 disable: 3 # obnoxious 4 - cyclop 5 - dupl 6 - exhaustivestruct 7 - exhaustruct 8 - forcetypeassert 9 - funlen 10 - gochecknoinits 11 - gochecknoglobals 12 - gocognit 13 - gocyclo 14 - godox 15 - gomnd 16 - nlreturn 17 - paralleltest 18 - testpackage 19 - wsl 20 - varnamelen 21 22 # deprecated 23 - golint 24 - interfacer 25 - maligned 26 - scopelint 27 enable-all: true 28 29 linters-settings: 30 forbidigo: 31 forbid: 32 - '^errors\.Wrap$' 33 - '^errors\.Wrapf$' 34 - '^fmt\.Errorf$' 35 gci: 36 local-prefixes: github.com/brandur 37 38 gocritic: 39 disabled-checks: 40 - commentFormatting 41 42 gosec: 43 excludes: 44 - G203 45 46 wrapcheck: 47 ignorePackageGlobs: 48 - github.com/brandur/*