Files
iris-context/.golangci.yml

43 lines
706 B
YAML

version: "2"
run:
timeout: 5m
tests: true
linters:
default: none
enable:
- errcheck
- govet
- staticcheck
- errorlint
- errname
- bodyclose
- sqlclosecheck
- noctx
- ineffassign
- unconvert
- bidichk
settings:
errcheck:
check-type-assertions: true
check-blank: false
exclude-functions:
- fmt.Print
- fmt.Println
- fmt.Printf
- fmt.Fprint
- fmt.Fprintln
- fmt.Fprintf
govet:
enable-all: true
disable:
- fieldalignment
exclusions:
rules:
- linters: [errcheck]
source: "^\\s*defer "
issues:
max-issues-per-linter: 0
max-same-issues: 0