run: timeout: 3m tests: true linters: disable-all: true enable: - errcheck - gosimple - govet - ineffassign - staticcheck - unused - misspell - bodyclose - errorlint - gofmt - goimports - revive - unconvert - gocritic - gosec linters-settings: errcheck: check-type-assertions: true check-blank: true govet: enable-all: true disable: - fieldalignment - shadow revive: rules: - name: var-naming - name: package-comments disabled: true - name: exported disabled: true gosec: excludes: - G104 # we audit-log errors instead of failing requests - G404 # math/rand is fine for non-crypto paths - G115 # cast safety; manual review issues: exclude-rules: - path: _test\.go linters: - gosec - errcheck - gocritic - path: cmd/nip05api/main\.go linters: - gocritic max-issues-per-linter: 0 max-same-issues: 0