76 lines
1 KiB
YAML
76 lines
1 KiB
YAML
|
---
|
||
|
run:
|
||
|
concurrency: 2
|
||
|
timeout: 1m
|
||
|
issues-exit-code: 1
|
||
|
tests: true
|
||
|
|
||
|
output:
|
||
|
format: colored-line-number
|
||
|
print-issues-lines: true
|
||
|
print-linter-name: true
|
||
|
|
||
|
linters-settings:
|
||
|
lll:
|
||
|
line-length: 140
|
||
|
|
||
|
linters:
|
||
|
enable:
|
||
|
- bodyclose
|
||
|
- deadcode
|
||
|
- depguard
|
||
|
- dogsled
|
||
|
- dupl
|
||
|
- errcheck
|
||
|
- funlen
|
||
|
- gochecknoglobals
|
||
|
- gochecknoinits
|
||
|
- gocognit
|
||
|
- goconst
|
||
|
- gocritic
|
||
|
- gocyclo
|
||
|
- godox
|
||
|
- gofmt
|
||
|
- goimports
|
||
|
- golint
|
||
|
- gomnd
|
||
|
- goprintffuncname
|
||
|
- gosec
|
||
|
- gosimple
|
||
|
- govet
|
||
|
- ineffassign
|
||
|
- interfacer
|
||
|
- lll
|
||
|
- maligned
|
||
|
- misspell
|
||
|
- nakedret
|
||
|
- prealloc
|
||
|
- rowserrcheck
|
||
|
- scopelint
|
||
|
- staticcheck
|
||
|
- structcheck
|
||
|
- stylecheck
|
||
|
- typecheck
|
||
|
- unconvert
|
||
|
- unparam
|
||
|
- unused
|
||
|
- varcheck
|
||
|
- whitespace
|
||
|
- wsl
|
||
|
#disable:
|
||
|
disabe-all: false
|
||
|
fast: false
|
||
|
|
||
|
issues:
|
||
|
exclude-rules:
|
||
|
- path: version.go
|
||
|
linters:
|
||
|
- gochecknoglobals
|
||
|
- path: _test.go
|
||
|
linters:
|
||
|
- gomnd
|
||
|
- scopelint
|
||
|
- path: cases_test.go
|
||
|
linters:
|
||
|
- gochecknoglobals
|