88 lines
1.4 KiB
YAML
88 lines
1.4 KiB
YAML
linters-settings:
|
|
misspell:
|
|
locale: US
|
|
|
|
issues:
|
|
exclude-rules:
|
|
- path: _test\.go
|
|
linters:
|
|
- dupl
|
|
- maligned
|
|
- goerr113
|
|
- path: internal/server/
|
|
linters:
|
|
- dupl
|
|
- path: internal/configuration/
|
|
linters:
|
|
- dupl
|
|
- path: internal/constants/
|
|
linters:
|
|
- dupl
|
|
- 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
|
|
- asciicheck
|
|
- bodyclose
|
|
- dogsled
|
|
- dupl
|
|
- durationcheck
|
|
- errname
|
|
- exhaustive
|
|
- exportloopref
|
|
- forcetypeassert
|
|
- gci
|
|
- gochecknoglobals
|
|
- gochecknoinits
|
|
- gocognit
|
|
- goconst
|
|
- gocritic
|
|
- gocyclo
|
|
- godot
|
|
- goerr113
|
|
- goheader
|
|
- goimports
|
|
- gomnd
|
|
- gomoddirectives
|
|
- goprintffuncname
|
|
- gosec
|
|
- importas
|
|
- importas
|
|
- lll
|
|
- makezero
|
|
- misspell
|
|
- nakedret
|
|
- nestif
|
|
- nilerr
|
|
- noctx
|
|
- nolintlint
|
|
- prealloc
|
|
- predeclared
|
|
- predeclared
|
|
- promlinter
|
|
- revive
|
|
- rowserrcheck
|
|
- sqlclosecheck
|
|
- thelper
|
|
- tparallel
|
|
- unconvert
|
|
- unparam
|
|
- wastedassign
|
|
- whitespace
|
|
|
|
run:
|
|
skip-dirs:
|
|
- .devcontainer
|
|
- .github
|
|
- doc
|