mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-22 03:30:35 +00:00
ffe2f6b732
* Enable mirror linter and fix findings * Use latest version of golangci-lint * Use v1.55.2 instead of latest --------- Co-authored-by: terence <terence@prysmaticlabs.com> Co-authored-by: Radosław Kapka <rkapka@wp.pl>
36 lines
525 B
YAML
36 lines
525 B
YAML
run:
|
|
skip-files:
|
|
- validator/web/site_data.go
|
|
- .*_test.go
|
|
skip-dirs:
|
|
- proto
|
|
- tools/analyzers
|
|
timeout: 10m
|
|
go: '1.19'
|
|
|
|
linters:
|
|
disable-all: true
|
|
enable:
|
|
- gofmt
|
|
- goimports
|
|
- unused
|
|
- errcheck
|
|
- gosimple
|
|
- gocognit
|
|
- dupword
|
|
- nilerr
|
|
- whitespace
|
|
- misspell
|
|
- mirror
|
|
- usestdlibvars
|
|
- errname
|
|
|
|
linters-settings:
|
|
gocognit:
|
|
# TODO: We should target for < 50
|
|
min-complexity: 65
|
|
|
|
output:
|
|
print-issued-lines: true
|
|
sort-results: true
|