You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
993 B
YAML
65 lines
993 B
YAML
linters-settings:
|
|
errcheck:
|
|
check-type-assertions: true
|
|
goconst:
|
|
min-len: 2
|
|
min-occurrences: 3
|
|
gocritic:
|
|
enabled-tags:
|
|
- diagnostic
|
|
- experimental
|
|
- opinionated
|
|
- performance
|
|
- style
|
|
govet:
|
|
check-shadowing: true
|
|
enable:
|
|
- fieldalignment
|
|
nolintlint:
|
|
require-explanation: true
|
|
require-specific: true
|
|
staticcheck:
|
|
checks:
|
|
- all
|
|
- '-SA5008'
|
|
|
|
linters:
|
|
disable-all: true
|
|
enable:
|
|
- bodyclose
|
|
- depguard
|
|
- dogsled
|
|
- dupl
|
|
- errcheck
|
|
- exportloopref
|
|
- exhaustive
|
|
- goconst
|
|
- gocritic
|
|
- gofmt
|
|
- goimports
|
|
- gomnd
|
|
- gocyclo
|
|
- gosec
|
|
- gosimple
|
|
- govet
|
|
- ineffassign
|
|
- misspell
|
|
- nolintlint
|
|
- nakedret
|
|
- prealloc
|
|
- predeclared
|
|
- revive
|
|
- staticcheck
|
|
- stylecheck
|
|
- thelper
|
|
- tparallel
|
|
- typecheck
|
|
- unconvert
|
|
- unparam
|
|
- unused
|
|
- whitespace
|
|
- wsl
|
|
|
|
run:
|
|
issues-exit-code: 1
|