2020-04-12 20:05:28 +00:00
|
|
|
linters-settings:
|
|
|
|
|
misspell:
|
|
|
|
|
locale: US
|
|
|
|
|
|
2020-11-19 08:50:55 -05:00
|
|
|
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/
|
2020-12-29 01:02:47 +00:00
|
|
|
linters:
|
2021-02-06 17:16:58 +00:00
|
|
|
- dupl
|
2021-02-17 20:36:30 -05:00
|
|
|
- path: internal/configuration/
|
|
|
|
|
linters:
|
|
|
|
|
- dupl
|
2021-07-20 03:01:26 +00:00
|
|
|
- path: internal/constants/
|
|
|
|
|
linters:
|
|
|
|
|
- dupl
|
2021-06-20 16:12:39 +00:00
|
|
|
- text: "exported: exported var Err*"
|
|
|
|
|
linters:
|
|
|
|
|
- revive
|
2021-06-20 16:39:38 +00:00
|
|
|
- text: "mnd: Magic number: 0644*"
|
|
|
|
|
linters:
|
|
|
|
|
- gomnd
|
|
|
|
|
- text: "mnd: Magic number: 0400*"
|
|
|
|
|
linters:
|
|
|
|
|
- gomnd
|
2020-04-12 20:05:28 +00:00
|
|
|
linters:
|
|
|
|
|
enable:
|
2021-09-14 19:26:46 +00:00
|
|
|
# - cyclop
|
|
|
|
|
# - errorlint
|
|
|
|
|
# - wrapcheck
|
2020-10-20 02:45:28 +00:00
|
|
|
- asciicheck
|
2020-04-12 20:05:28 +00:00
|
|
|
- bodyclose
|
|
|
|
|
- dogsled
|
|
|
|
|
- dupl
|
2021-09-14 19:26:46 +00:00
|
|
|
- durationcheck
|
|
|
|
|
- errname
|
2020-10-20 02:45:28 +00:00
|
|
|
- exhaustive
|
|
|
|
|
- exportloopref
|
2021-09-14 19:26:46 +00:00
|
|
|
- forcetypeassert
|
2020-10-20 02:45:28 +00:00
|
|
|
- gci
|
2020-04-12 20:05:28 +00:00
|
|
|
- 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
|
2020-04-12 20:05:28 +00:00
|
|
|
- goimports
|
2020-10-20 02:45:28 +00:00
|
|
|
- gomnd
|
2021-09-14 19:26:46 +00:00
|
|
|
- gomoddirectives
|
2020-10-20 02:45:28 +00:00
|
|
|
- goprintffuncname
|
2020-04-12 20:05:28 +00:00
|
|
|
- gosec
|
2021-05-30 03:09:22 +00:00
|
|
|
- importas
|
2021-09-14 19:26:46 +00:00
|
|
|
- importas
|
2020-10-20 02:45:28 +00:00
|
|
|
- lll
|
2021-09-14 19:26:46 +00:00
|
|
|
- makezero
|
2020-04-12 20:05:28 +00:00
|
|
|
- misspell
|
|
|
|
|
- nakedret
|
2020-10-20 02:45:28 +00:00
|
|
|
- nestif
|
2021-05-30 03:09:22 +00:00
|
|
|
- nilerr
|
2020-10-20 02:45:28 +00:00
|
|
|
- noctx
|
|
|
|
|
- nolintlint
|
2020-04-12 20:05:28 +00:00
|
|
|
- prealloc
|
2021-05-30 03:09:22 +00:00
|
|
|
- predeclared
|
2021-09-14 19:26:46 +00:00
|
|
|
- predeclared
|
|
|
|
|
- promlinter
|
2021-06-20 16:12:39 +00:00
|
|
|
- revive
|
2020-04-12 20:05:28 +00:00
|
|
|
- rowserrcheck
|
2020-10-20 02:45:28 +00:00
|
|
|
- sqlclosecheck
|
2021-05-30 03:09:22 +00:00
|
|
|
- thelper
|
|
|
|
|
- tparallel
|
2020-04-12 20:05:28 +00:00
|
|
|
- unconvert
|
|
|
|
|
- unparam
|
2021-09-14 19:26:46 +00:00
|
|
|
- wastedassign
|
2020-04-12 20:05:28 +00:00
|
|
|
- whitespace
|
|
|
|
|
|
|
|
|
|
run:
|
|
|
|
|
skip-dirs:
|
|
|
|
|
- .devcontainer
|
|
|
|
|
- .github
|
2020-11-19 08:50:55 -05:00
|
|
|
- doc
|