mirror of
https://github.com/luxfi/indexer.git
synced 2026-11-02 14:29:09 +00:00
Co-authored-by: dhrubabasu <[email protected]> Co-authored-by: Patrick O'Grady <[email protected]> Co-authored-by: Stephen <[email protected]>
64 lines
1007 B
YAML
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
|