2020-06-08 03:29:51 +03:00
|
|
|
linters:
|
|
|
|
enable:
|
2021-09-27 12:01:14 +03:00
|
|
|
- revive
|
|
|
|
- errname
|
2020-06-08 03:29:51 +03:00
|
|
|
- goimports
|
|
|
|
- nilerr
|
|
|
|
- forcetypeassert
|
|
|
|
- asciicheck
|
|
|
|
- bodyclose
|
|
|
|
- durationcheck
|
|
|
|
- errorlint
|
|
|
|
- noctx
|
|
|
|
- misspell
|
|
|
|
- exportloopref
|
|
|
|
- unconvert
|
|
|
|
- unparam
|
|
|
|
- wastedassign
|
|
|
|
- makezero
|
|
|
|
- exhaustive
|
|
|
|
- gosec
|
|
|
|
- nolintlint
|
|
|
|
- nakedret
|
|
|
|
- predeclared
|
|
|
|
- tagliatelle
|
|
|
|
|
|
|
|
linters-settings:
|
|
|
|
misspell:
|
|
|
|
ignore-words:
|
|
|
|
# elf RELA
|
|
|
|
- rela
|
|
|
|
- equalisation
|
|
|
|
- synchronisation
|
2022-01-25 19:23:41 +03:00
|
|
|
exhaustive:
|
|
|
|
default-signifies-exhaustive: true
|
2020-06-08 03:29:51 +03:00
|
|
|
gosec:
|
|
|
|
excludes:
|
|
|
|
# allow md5
|
|
|
|
- G401
|
|
|
|
- G501
|
2022-01-23 14:38:41 +03:00
|
|
|
issues:
|
|
|
|
exclude-rules:
|
|
|
|
- path: dev/.*\.go
|
|
|
|
linters:
|
|
|
|
# ignore main re-declared errors
|
|
|
|
- typecheck
|