run: tests: false skip-dirs: - data - vendor modules-download-mode: readonly allow-parallel-runners: true go: '1.22' output: sort-results: true linters-settings: gosec: excludes: # Оно не используется для повышения безопасности или каких-то таких секъюрных вещей, оно используется для выборки # произвольного элемента из массива, так что ИДИ НАХУЙ с этой проверкой и не еби мозги липовой безопасностью. - G404 # Insecure random number source (rand) # Мне не нужны шашечки, мне ехать надо. - G402 # TLS InsecureSkipVerify set true linters: disable-all: true enable: - errcheck - gosimple - govet - ineffassign - staticcheck - unused - asasalint - asciicheck - bodyclose - containedctx - contextcheck - decorder - durationcheck - errchkjson - errorlint - exhaustive - exportloopref - ginkgolinter - gocheckcompilerdirectives - gocritic - godot - gofmt - goimports - gosec - grouper - importas - ireturn - makezero - nakedret - nilerr - nilnil - nlreturn - noctx - nolintlint - nonamedreturns - predeclared - promlinter - reassign - revive - rowserrcheck - stylecheck - unconvert - wastedassign - whitespace - wsl