linters-settings: misspell: locale: US issues: exclude-rules: - path: _test\.go linters: - dupl - err113 - containedctx - maintidx - path: "internal\\/server\\/.+\\.go" linters: - dupl - text: "returns interface \\(github\\.com\\/vishvananda\\/netlink\\.Link\\)" linters: - ireturn - path: "internal\\/openvpn\\/pkcs8\\/descbc\\.go" text: "newCipherDESCBCBlock returns interface \\(github\\.com\\/youmark\\/pkcs8\\.Cipher\\)" linters: - ireturn - source: "^\\/\\/ https\\:\\/\\/.+$" linters: - lll linters: enable: # - cyclop # - errorlint - asasalint - asciicheck - bidichk - bodyclose - containedctx - copyloopvar - decorder - dogsled - dupl - dupword - durationcheck - err113 - errchkjson - errname - exhaustive - fatcontext - forcetypeassert - gci - gocheckcompilerdirectives - gochecknoglobals - gochecknoinits - gocognit - goconst - gocritic - gocyclo - godot - gofumpt - goheader - goimports - gomoddirectives - goprintffuncname - gosec - gosmopolitan - grouper - importas - interfacebloat - intrange - ireturn - lll - maintidx - makezero - mirror - misspell - mnd - musttag - nakedret - nestif - nilerr - nilnil - noctx - nolintlint - nosprintfhostport - paralleltest - prealloc - predeclared - promlinter - reassign - revive - rowserrcheck - sqlclosecheck - tagalign - tenv - thelper - tparallel - unconvert - unparam - usestdlibvars - wastedassign - whitespace - zerologlint