mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-08 21:08:10 -05:00
* PR to update workflow check dependencies * Updated build checkout version to v4 * Updated to go 1.23.0 * Updated lint version to v1.60.3 * Revert to 1.22.3 * Updated go to 1.23 * revert * Updated setup-go to v5 * Update lint to 1.60.2 * Revert changes * Update Lint version to v1.60.3 * Update lint to go 1.23.0 * Update golanci.yml to 1.23.0 * Revert and keep to golang 1.22.4 * Disable mnd * Downgrade to current version * Add update to go 1.26 * Update to go 1.22.6 * Update .golangci.yml to 1.22.6
94 lines
1.4 KiB
YAML
94 lines
1.4 KiB
YAML
run:
|
|
skip-files:
|
|
- validator/web/site_data.go
|
|
- .*_test.go
|
|
skip-dirs:
|
|
- proto
|
|
- tools/analyzers
|
|
timeout: 10m
|
|
go: '1.22.6'
|
|
|
|
linters:
|
|
enable-all: true
|
|
disable:
|
|
# Deprecated linters:
|
|
- deadcode
|
|
- exhaustivestruct
|
|
- golint
|
|
- govet
|
|
- ifshort
|
|
- interfacer
|
|
- maligned
|
|
- nosnakecase
|
|
- scopelint
|
|
- structcheck
|
|
- varcheck
|
|
|
|
# Disabled for now:
|
|
- asasalint
|
|
- bodyclose
|
|
- containedctx
|
|
- contextcheck
|
|
- cyclop
|
|
- depguard
|
|
- dogsled
|
|
- dupl
|
|
- durationcheck
|
|
- exhaustive
|
|
- exhaustruct
|
|
- forbidigo
|
|
- forcetypeassert
|
|
- funlen
|
|
- gci
|
|
- gochecknoglobals
|
|
- gochecknoinits
|
|
- goconst
|
|
- gocritic
|
|
- gocyclo
|
|
- godot
|
|
- godox
|
|
- goerr113
|
|
- gofumpt
|
|
- gomnd
|
|
- gomoddirectives
|
|
- gosec
|
|
- inamedparam
|
|
- interfacebloat
|
|
- ireturn
|
|
- lll
|
|
- maintidx
|
|
- makezero
|
|
- musttag
|
|
- nakedret
|
|
- nestif
|
|
- nilnil
|
|
- nlreturn
|
|
- noctx
|
|
- nolintlint
|
|
- nonamedreturns
|
|
- nosprintfhostport
|
|
- perfsprint
|
|
- prealloc
|
|
- predeclared
|
|
- promlinter
|
|
- protogetter
|
|
- revive
|
|
- staticcheck
|
|
- stylecheck
|
|
- tagalign
|
|
- tagliatelle
|
|
- thelper
|
|
- unparam
|
|
- varnamelen
|
|
- wrapcheck
|
|
- wsl
|
|
|
|
linters-settings:
|
|
gocognit:
|
|
# TODO: We should target for < 50
|
|
min-complexity: 65
|
|
|
|
output:
|
|
print-issued-lines: true
|
|
sort-results: true
|