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
|
|
|
|
|
2022-02-03 02:20:50 +03:00
|
|
|
run:
|
|
|
|
skip-dirs:
|
|
|
|
- dev
|
|
|
|
- doc
|
|
|
|
|
2020-06-08 03:29:51 +03:00
|
|
|
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
|