Files
gluetun/.golangci.yml

88 lines
1.4 KiB
YAML
Raw Normal View History

linters-settings:
misspell:
locale: US
issues:
exclude-rules:
- path: _test\.go
linters:
- dupl
- maligned
2021-05-30 16:14:08 +00:00
- goerr113
2021-02-06 17:16:58 +00:00
- path: internal/server/
linters:
2021-02-06 17:16:58 +00:00
- dupl
- path: internal/configuration/
linters:
- dupl
- path: internal/constants/
linters:
- dupl
2021-06-20 16:12:39 +00:00
- text: "exported: exported var Err*"
linters:
- revive
- text: "mnd: Magic number: 0644*"
linters:
- gomnd
- text: "mnd: Magic number: 0400*"
linters:
- gomnd
linters:
enable:
# - cyclop
# - errorlint
# - wrapcheck
2020-10-20 02:45:28 +00:00
- asciicheck
- bodyclose
- dogsled
- dupl
- durationcheck
- errname
2020-10-20 02:45:28 +00:00
- exhaustive
- exportloopref
- forcetypeassert
2020-10-20 02:45:28 +00:00
- gci
- gochecknoglobals
- gochecknoinits
- gocognit
- goconst
- gocritic
- gocyclo
2020-10-20 02:45:28 +00:00
- godot
2021-06-07 23:31:52 +00:00
- goerr113
2020-10-20 02:45:28 +00:00
- goheader
- goimports
2020-10-20 02:45:28 +00:00
- gomnd
- gomoddirectives
2020-10-20 02:45:28 +00:00
- goprintffuncname
- gosec
- importas
- importas
2020-10-20 02:45:28 +00:00
- lll
- makezero
- misspell
- nakedret
2020-10-20 02:45:28 +00:00
- nestif
- nilerr
2020-10-20 02:45:28 +00:00
- noctx
- nolintlint
- prealloc
- predeclared
- predeclared
- promlinter
2021-06-20 16:12:39 +00:00
- revive
- rowserrcheck
2020-10-20 02:45:28 +00:00
- sqlclosecheck
- thelper
- tparallel
- unconvert
- unparam
- wastedassign
- whitespace
run:
skip-dirs:
- .devcontainer
- .github
- doc