mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-05 05:34:25 -05:00
* update golangci-lint configuration to enable basic linters only * Add back formatter * feedback * Add nolint
41 lines
674 B
YAML
41 lines
674 B
YAML
version: "2"
|
|
run:
|
|
go: 1.23.5
|
|
linters:
|
|
enable:
|
|
- errcheck
|
|
- ineffassign
|
|
- govet
|
|
disable:
|
|
- staticcheck
|
|
- unused
|
|
exclusions:
|
|
generated: lax
|
|
presets:
|
|
- comments
|
|
- common-false-positives
|
|
- legacy
|
|
- std-error-handling
|
|
paths:
|
|
- validator/web/site_data.go
|
|
- .*_test.go
|
|
- proto
|
|
- tools/analyzers
|
|
- third_party$
|
|
- builtin$
|
|
- examples$
|
|
|
|
formatters:
|
|
enable:
|
|
- gofmt
|
|
- goimports
|
|
exclusions:
|
|
generated: lax
|
|
paths:
|
|
- validator/web/site_data.go
|
|
- .*_test.go
|
|
- proto
|
|
- tools/analyzers
|
|
- third_party$
|
|
- builtin$
|
|
- examples$ |