switch to CGO-free builds

This commit is contained in:
Aine
2024-04-30 09:26:16 +03:00
parent 0e3655195a
commit 6a63e44bfc
1412 changed files with 5066605 additions and 277003 deletions

View File

@@ -4,14 +4,13 @@ run:
issues-exit-code: 1
tests: true
build-tags: []
skip-dirs:
- mocks
skip-dirs-use-default: true
skip-files: []
modules-download-mode: readonly
output:
format: colored-line-number
formats:
- format: colored-line-number
print-issued-lines: true
print-linter-name: true
sort-results: true
@@ -53,8 +52,6 @@ linters-settings:
replacement: 'a[b:]'
gofumpt:
extra-rules: true
govet:
check-shadowing: true
grouper:
const-require-single-const: true
import-require-single-import: true
@@ -93,11 +90,9 @@ linters:
- exhaustive
- exportloopref
- forcetypeassert
- gochecknoinits
- gocognit
- gocritic
- gocyclo
- goerr113
- gofmt
- gofumpt
- goimports
@@ -125,6 +120,8 @@ linters:
issues:
exclude-dirs:
- mocks
exclude-rules:
- path: _test\.go
linters:
@@ -139,6 +136,9 @@ issues:
- linters:
- lll
source: "^//go:generate "
- linters:
- revive
text: "returns unexported type"
max-issues-per-linter: 0
max-same-issues: 0
new: false