Files
indexer/.golangci.yml
3a9331169b Update avalanchego to v1.9.0-fuji (#472)
Co-authored-by: dhrubabasu <[email protected]>
Co-authored-by: Patrick O'Grady <[email protected]>
Co-authored-by: Stephen <[email protected]>
2022-10-02 20:20:49 -04:00

64 lines
1007 B
YAML

run:
max-same-issues: 0
max-issues-per-linter: 0
issues:
exclude:
- Error return value of `.*\.EventErr(Kv)?` is not checked
exclude-rules:
- path: _test\.go
linters:
- goconst
linters-settings:
errcheck:
check-type-assertions: false
check-blank: false
goconst:
min-occurrences: 2
gocyclo:
min-complexity: 30
misspell:
locale: US
nakedret:
max-func-lines: 0
unparam:
algo: cha
check-exported: false
linters:
enable:
- asciicheck
- bodyclose
- deadcode
- depguard
- dogsled
- errcheck
- goconst
- gocritic
- gocyclo
- gofmt
- goimports
- golint
- goprintffuncname
- gosec
- gosimple
- govet
- ineffassign
- maligned
- misspell
- nakedret
- nolintlint
- prealloc
- rowserrcheck
- scopelint
- staticcheck
- structcheck
- stylecheck
- typecheck
- unconvert
- unparam
- unused
- varcheck
- whitespace