Skip to content

Commit a67432a

Browse files
committed
golangci-lint: ignore processStringTable() and bindGameRules() funlen
1 parent 1d88fbc commit a67432a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

pkg/demoinfocs/datatables.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,6 +527,7 @@ func (p *parser) infernoExpired(inf *common.Inferno) {
527527
p.gameEventHandler.deleteThrownGrenade(inf.Thrower(), common.EqIncendiary)
528528
}
529529

530+
//nolint:funlen
530531
func (p *parser) bindGameRules() {
531532
grPrefix := func(s string) string {
532533
return fmt.Sprintf("%s.%s", gameRulesPrefix, s)

pkg/demoinfocs/stringtables.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ func (p *parser) handleCreateStringTable(tab *msg.CSVCMsg_CreateStringTable) { /
135135
p.eventDispatcher.Dispatch(events.StringTableCreated{TableName: tab.Name})
136136
}
137137

138+
//nolint:funlen
138139
func (p *parser) processStringTable(tab *msg.CSVCMsg_CreateStringTable) {
139140
defer func() {
140141
p.setError(recoverFromUnexpectedEOF(recover()))

0 commit comments

Comments
 (0)