808a1e9deb
Took way longer than it should had because I was researching exisiting options. As it turns out, nothing nice exists that would handle: - Multiple overridiable config files - Defaults provided in a struct - Output in a struct License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
32 lines
549 B
YAML
32 lines
549 B
YAML
linters:
|
|
disable-all: true
|
|
enable:
|
|
- vet
|
|
- gofmt
|
|
- misspell
|
|
- goconst
|
|
- golint
|
|
- errcheck
|
|
- gosec
|
|
- unconvert
|
|
- staticcheck
|
|
- varcheck
|
|
- structcheck
|
|
- deadcode
|
|
|
|
|
|
issues:
|
|
exclude:
|
|
- "func name will be used as test\\.Test.* by other packages, and that stutters; consider calling this"
|
|
- "Potential file inclusion via variable"
|
|
|
|
exclude-use-default: false
|
|
exclude-rules:
|
|
- path: node/modules/lp2p
|
|
linters:
|
|
- golint
|
|
|
|
linters-settings:
|
|
goconst:
|
|
min-occurrences: 6
|