mirror of
https://github.com/moul/sshportal.git
synced 2024-11-10 17:26:41 +08:00
f4fc3a90bc
Signed-off-by: Manfred Touron <94029+moul@users.noreply.github.com>
55 lines
819 B
YAML
55 lines
819 B
YAML
run:
|
|
deadline: 1m
|
|
tests: false
|
|
skip-files:
|
|
- "testing.go"
|
|
- ".*\\.pb\\.go"
|
|
- ".*\\.gen\\.go"
|
|
|
|
linters-settings:
|
|
golint:
|
|
min-confidence: 0
|
|
maligned:
|
|
suggest-new: true
|
|
goconst:
|
|
min-len: 5
|
|
min-occurrences: 4
|
|
misspell:
|
|
locale: US
|
|
|
|
linters:
|
|
disable-all: true
|
|
enable:
|
|
- bodyclose
|
|
- deadcode
|
|
- depguard
|
|
- dogsled
|
|
#- dupl
|
|
- errcheck
|
|
#- funlen
|
|
- gochecknoinits
|
|
#- gocognit
|
|
- goconst
|
|
- gocritic
|
|
#- gocyclo
|
|
- gofmt
|
|
- goimports
|
|
- golint
|
|
- gosimple
|
|
- govet
|
|
- ineffassign
|
|
- interfacer
|
|
#- maligned
|
|
- misspell
|
|
- nakedret
|
|
- prealloc
|
|
- scopelint
|
|
- staticcheck
|
|
- structcheck
|
|
#- stylecheck
|
|
- typecheck
|
|
- unconvert
|
|
- unparam
|
|
- unused
|
|
- varcheck
|
|
- whitespace
|