mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-08-02 06:12:45 +00:00
Increase gocyclo complexity to 25 (and remove all but 2 golint directives related to it) (#1783)
This commit is contained in:
parent
f0139f12ca
commit
d15836e260
31 changed files with 1 additions and 47 deletions
|
@ -270,7 +270,6 @@ func CheckServerAllowedToSeeEvent(
|
|||
}
|
||||
|
||||
// TODO: Remove this when we have tests to assert correctness of this function
|
||||
// nolint:gocyclo
|
||||
func ScanEventTree(
|
||||
ctx context.Context, db storage.Database, info types.RoomInfo, front []string, visited map[string]bool, limit int,
|
||||
serverName gomatrixserverlib.ServerName,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue