Files
gluetun/.golangci.yml

72 lines
1.1 KiB
YAML
Raw Normal View History

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