2020-04-12 20:05:28 +00:00
|
|
|
linters-settings:
|
|
|
|
|
maligned:
|
|
|
|
|
suggest-new: true
|
|
|
|
|
misspell:
|
|
|
|
|
locale: US
|
|
|
|
|
|
2020-11-19 08:50:55 -05:00
|
|
|
issues:
|
|
|
|
|
exclude-rules:
|
|
|
|
|
- path: _test\.go
|
|
|
|
|
linters:
|
|
|
|
|
- dupl
|
|
|
|
|
- maligned
|
2020-12-29 00:55:31 +00:00
|
|
|
- path: internal/os/alias\.go
|
|
|
|
|
linters:
|
|
|
|
|
- gochecknoglobals
|
|
|
|
|
text: IsNotExist is a global variable
|
2020-11-19 08:50:55 -05:00
|
|
|
|
2020-04-12 20:05:28 +00:00
|
|
|
linters:
|
|
|
|
|
disable-all: true
|
|
|
|
|
enable:
|
2020-10-20 02:45:28 +00:00
|
|
|
- asciicheck
|
2020-04-12 20:05:28 +00:00
|
|
|
- bodyclose
|
|
|
|
|
- deadcode
|
|
|
|
|
- dogsled
|
|
|
|
|
- dupl
|
|
|
|
|
- errcheck
|
2020-10-20 02:45:28 +00:00
|
|
|
- exhaustive
|
|
|
|
|
- exportloopref
|
|
|
|
|
- gci
|
2020-04-12 20:05:28 +00:00
|
|
|
- gochecknoglobals
|
|
|
|
|
- gochecknoinits
|
|
|
|
|
- gocognit
|
|
|
|
|
- goconst
|
|
|
|
|
- gocritic
|
|
|
|
|
- gocyclo
|
2020-10-20 02:45:28 +00:00
|
|
|
- godot
|
|
|
|
|
- goheader
|
2020-04-12 20:05:28 +00:00
|
|
|
- goimports
|
|
|
|
|
- golint
|
2020-10-20 02:45:28 +00:00
|
|
|
- gomnd
|
|
|
|
|
- goprintffuncname
|
2020-04-12 20:05:28 +00:00
|
|
|
- gosec
|
|
|
|
|
- gosimple
|
|
|
|
|
- govet
|
|
|
|
|
- ineffassign
|
|
|
|
|
- interfacer
|
2020-10-20 02:45:28 +00:00
|
|
|
- lll
|
2020-04-12 20:05:28 +00:00
|
|
|
- maligned
|
|
|
|
|
- misspell
|
|
|
|
|
- nakedret
|
2020-10-20 02:45:28 +00:00
|
|
|
- nestif
|
|
|
|
|
- noctx
|
|
|
|
|
- nolintlint
|
2020-04-12 20:05:28 +00:00
|
|
|
- prealloc
|
|
|
|
|
- rowserrcheck
|
|
|
|
|
- scopelint
|
2020-10-20 02:45:28 +00:00
|
|
|
- sqlclosecheck
|
2020-04-12 20:05:28 +00:00
|
|
|
- staticcheck
|
|
|
|
|
- structcheck
|
|
|
|
|
- typecheck
|
|
|
|
|
- unconvert
|
|
|
|
|
- unparam
|
|
|
|
|
- unused
|
|
|
|
|
- varcheck
|
|
|
|
|
- whitespace
|
|
|
|
|
|
|
|
|
|
run:
|
|
|
|
|
skip-dirs:
|
|
|
|
|
- .devcontainer
|
|
|
|
|
- .github
|
2020-11-19 08:50:55 -05:00
|
|
|
- doc
|