68 lines
981 B
YAML
68 lines
981 B
YAML
|
run:
|
||
|
concurrency: 2
|
||
|
deadline: 5m
|
||
|
|
||
|
skip-dirs:
|
||
|
- path: ./testdata/
|
||
|
|
||
|
linters:
|
||
|
disable-all: true
|
||
|
enable:
|
||
|
- deadcode
|
||
|
- errcheck
|
||
|
- gosimple
|
||
|
- govet
|
||
|
- ineffassign
|
||
|
- staticcheck
|
||
|
- structcheck
|
||
|
- typecheck
|
||
|
- unused
|
||
|
- varcheck
|
||
|
- bodyclose
|
||
|
- depguard
|
||
|
- dogsled
|
||
|
- dupl
|
||
|
- funlen
|
||
|
- gochecknoinits
|
||
|
- goconst
|
||
|
- gocritic
|
||
|
- gocyclo
|
||
|
- godot
|
||
|
- gofmt
|
||
|
- gofumpt
|
||
|
- goimports
|
||
|
- golint
|
||
|
- gomnd
|
||
|
- gomodguard
|
||
|
- goprintffuncname
|
||
|
- gosec
|
||
|
- lll
|
||
|
- maligned
|
||
|
- misspell
|
||
|
- nakedret
|
||
|
- nestif
|
||
|
- prealloc
|
||
|
- rowserrcheck
|
||
|
- scopelint
|
||
|
- stylecheck
|
||
|
- unconvert
|
||
|
- unparam
|
||
|
- whitespace
|
||
|
|
||
|
linters-settings:
|
||
|
godot:
|
||
|
check-all: true
|
||
|
|
||
|
issues:
|
||
|
exclude-use-default: false
|
||
|
exclude-rules:
|
||
|
- path: _test\.go
|
||
|
linters:
|
||
|
- dupl
|
||
|
- errcheck
|
||
|
- funlen
|
||
|
- gosec
|
||
|
- path: cmd/godot/main\.go
|
||
|
linters:
|
||
|
- gomnd
|