mirror of
https://github.com/luxfi/warp.git
synced 2026-11-03 11:10:55 +00:00
- Add bridge/atomic_bridge.go: Cross-chain atomic transfer bridge - Implements lock-mint and burn-unlock patterns - Supports multi-chain coordination - Add payload/: Warp message payload types - atomic_swap.go: Atomic swap payloads - payload.go: Base payload interface - Add precompile/: Warp precompile contracts - warp.go: Warp precompile implementation - Fix spelling in signature_aggregator.go (cancelled → canceled) - Update dependencies
65 lines
931 B
YAML
65 lines
931 B
YAML
version: "2"
|
|
|
|
formatters:
|
|
enable:
|
|
- gofmt
|
|
|
|
linters:
|
|
enable:
|
|
- bodyclose
|
|
- dogsled
|
|
- dupl
|
|
- errcheck
|
|
- funlen
|
|
- goconst
|
|
- gocyclo
|
|
- gosec
|
|
- govet
|
|
- ineffassign
|
|
- lll
|
|
- misspell
|
|
- nakedret
|
|
- staticcheck
|
|
- unconvert
|
|
- unused
|
|
- whitespace
|
|
|
|
settings:
|
|
govet:
|
|
disable:
|
|
- shadow
|
|
gocyclo:
|
|
min-complexity: 20
|
|
goconst:
|
|
min-len: 2
|
|
min-occurrences: 2
|
|
misspell:
|
|
locale: US
|
|
lll:
|
|
line-length: 160
|
|
funlen:
|
|
lines: 150
|
|
statements: 80
|
|
gosec:
|
|
excludes:
|
|
- G115
|
|
|
|
exclusions:
|
|
rules:
|
|
- path: _test\.go
|
|
linters:
|
|
- gocyclo
|
|
- errcheck
|
|
- dupl
|
|
- gosec
|
|
- funlen
|
|
- linters:
|
|
- lll
|
|
source: "^//go:generate "
|
|
- linters:
|
|
- unparam
|
|
text: "is always nil"
|
|
|
|
run:
|
|
timeout: 5m
|