2020-01-24 09:51:21 +00:00
|
|
|
---
|
|
|
|
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
|
|
|
|
- depguard
|
|
|
|
- dogsled
|
|
|
|
- dupl
|
|
|
|
- errcheck
|
2022-10-08 22:13:41 +01:00
|
|
|
- exportloopref
|
2020-01-24 09:51:21 +00:00
|
|
|
- funlen
|
|
|
|
- gochecknoglobals
|
|
|
|
- gochecknoinits
|
|
|
|
- gocognit
|
|
|
|
- goconst
|
|
|
|
- gocritic
|
|
|
|
- gocyclo
|
|
|
|
- godox
|
|
|
|
- gofmt
|
|
|
|
- goimports
|
|
|
|
- gomnd
|
|
|
|
- goprintffuncname
|
|
|
|
- gosec
|
|
|
|
- gosimple
|
|
|
|
- govet
|
|
|
|
- ineffassign
|
|
|
|
- lll
|
|
|
|
- misspell
|
|
|
|
- nakedret
|
|
|
|
- prealloc
|
2022-10-08 22:13:41 +01:00
|
|
|
- revive
|
2020-01-24 09:51:21 +00:00
|
|
|
- rowserrcheck
|
|
|
|
- staticcheck
|
|
|
|
- stylecheck
|
|
|
|
- typecheck
|
|
|
|
- unconvert
|
|
|
|
- unparam
|
|
|
|
- unused
|
|
|
|
- whitespace
|
|
|
|
- wsl
|
|
|
|
#disable:
|
|
|
|
disabe-all: false
|
|
|
|
fast: false
|
|
|
|
|
|
|
|
issues:
|
|
|
|
exclude-rules:
|
2020-07-14 19:57:02 +01:00
|
|
|
- path: main.go
|
2020-01-24 09:51:21 +00:00
|
|
|
linters:
|
|
|
|
- gochecknoglobals
|
|
|
|
- path: _test.go
|
|
|
|
linters:
|
|
|
|
- gomnd
|
|
|
|
- scopelint
|
|
|
|
- path: cases_test.go
|
|
|
|
linters:
|
|
|
|
- gochecknoglobals
|