Files
zeekay 9f512ab6c1 refactor: quasar protocol improvements and test updates
- Update quasar BLS and GPU integration
- Improve epoch and threshold management
- Remove deprecated corona module
- Update integration tests for chain engine
- Enhance dynamic and dual threshold tests
- CGO_ENABLED=1 default for GPU acceleration
2026-01-03 07:01:00 -08:00

63 lines
1.2 KiB
YAML

# golangci-lint v2 configuration
version: "2"
run:
timeout: 10m
tests: false
formatters:
enable:
- gofmt
linters:
default: none
enable:
- govet
- staticcheck
- ineffassign
- misspell
settings:
govet:
disable:
- shadow
staticcheck:
checks:
- "all"
- "-SA1019"
- "-QF1008" # embedded field selector (style suggestion)
- "-QF1012" # fmt.Fprintf instead of Write (style suggestion)
- "-ST1003" # ALL_CAPS naming (style)
- "-ST1005" # error string capitalization (style)
- "-ST1023" # omit type from declaration (style)
- "-QF1011" # omit type from declaration (style)
exclusions:
generated: lax
presets:
- comments
paths:
- vendor
- third_party
- testdata
- examples
- build
rules:
- path: _test\.go
linters:
- staticcheck
- ineffassign
- path: test/
linters:
- staticcheck
- ineffassign
- path: cmd/
text: "Error return value of .* is not checked"
- text: "declaration of \"err\" shadows"
linters:
- govet
issues:
max-issues-per-linter: 50
max-same-issues: 10