forked from mirror/client_golang
48 lines
708 B
YAML
48 lines
708 B
YAML
---
|
|
|
|
run:
|
|
deadline: 5m
|
|
|
|
output:
|
|
sort-results: true
|
|
|
|
linters:
|
|
enable:
|
|
- deadcode
|
|
- depguard
|
|
- durationcheck
|
|
- errorlint
|
|
- exportloopref
|
|
- gofmt
|
|
- gofumpt
|
|
- goimports
|
|
- gosimple
|
|
- ineffassign
|
|
- misspell
|
|
- nolintlint
|
|
- predeclared
|
|
- revive
|
|
- staticcheck
|
|
- structcheck
|
|
- unconvert
|
|
- unused
|
|
- varcheck
|
|
- wastedassign
|
|
|
|
issues:
|
|
max-same-issues: 0
|
|
exclude-rules:
|
|
- path: _test.go
|
|
linters:
|
|
- errcheck
|
|
- govet
|
|
- structcheck
|
|
|
|
linters-settings:
|
|
errcheck:
|
|
exclude: scripts/errcheck_excludes.txt
|
|
goimports:
|
|
local-prefixes: git.internal/re/client_golang
|
|
gofumpt:
|
|
extra-rules: true
|