snapshot of https://github.com/livekit/livekit.git @ 08c5433449c106943231037d0b892895f6e92d3b (2026-09-15)
This commit is contained in:
25
.golangci.yml
Normal file
25
.golangci.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
version: "2"
|
||||
linters:
|
||||
default: none
|
||||
enable:
|
||||
- depguard
|
||||
- staticcheck
|
||||
settings:
|
||||
depguard:
|
||||
rules:
|
||||
protojson:
|
||||
deny:
|
||||
- pkg: google.golang.org/protobuf/encoding/protojson
|
||||
desc: use github.com/livekit/protocol/utils/protojson instead — it sets DiscardUnknown by default to avoid schema-drift footguns
|
||||
staticcheck:
|
||||
checks:
|
||||
- "all"
|
||||
- "-ST1000"
|
||||
- "-ST1003"
|
||||
- "-ST1020"
|
||||
- "-ST1021"
|
||||
- "-ST1022"
|
||||
- "-SA1019"
|
||||
- "-QF1008"
|
||||
exclusions:
|
||||
generated: strict
|
||||
Reference in New Issue
Block a user