mirror of
https://github.com/status-im/status-go.git
synced 2025-01-09 22:26:30 +00:00
baa0767c26
This commit does a few things: 1) Handle membership updates using protobuf and adds the relevant endpoints. 2) Store in memory a map of chats + contacts for faster lookups, which are then flushed to disk on each update 3) Validate incoming messages Sorry for the large pr, but you know, v1 :)
28 lines
443 B
YAML
28 lines
443 B
YAML
run:
|
|
# timeout for analysis, e.g. 30s, 5m, default is 1m
|
|
deadline: 2m
|
|
linters:
|
|
enable:
|
|
#- golint
|
|
- interfacer
|
|
- unconvert
|
|
#- dupl
|
|
- goconst
|
|
- gofmt
|
|
- misspell
|
|
- maligned
|
|
- unparam
|
|
- nakedret
|
|
- prealloc
|
|
#- gosec
|
|
linters-settings:
|
|
misspell:
|
|
locale: US
|
|
issues:
|
|
max-same: 0
|
|
max-per-linter: 0
|
|
exclude-use-default: false
|
|
exclude:
|
|
# gosec: Duplicated errcheck checks
|
|
- G104
|