mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-22 19:40:37 +00:00
835dce5f6e
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
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.21.5'
|
|
|
|
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
|
|
- errorlint
|
|
- exhaustive
|
|
- exhaustruct
|
|
- forbidigo
|
|
- forcetypeassert
|
|
- funlen
|
|
- gci
|
|
- gochecknoglobals
|
|
- gochecknoinits
|
|
- goconst
|
|
- gocritic
|
|
- gocyclo
|
|
- godot
|
|
- godox
|
|
- goerr113
|
|
- gofumpt
|
|
- gomnd
|
|
- gomoddirectives
|
|
- 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
|