Skip to content

Commit

Permalink
fix var name
Browse files Browse the repository at this point in the history
  • Loading branch information
mfederowicz committed Dec 1, 2023
1 parent 77c9b17 commit 307cab0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rule/add-constant.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func (r *AddConstantRule) Apply(file *lint.File, arguments lint.Arguments) []lin
onFailure: onFailure,
strLits: make(map[string]int),
strLitLimit: r.strLitLimit,
allowLst: r.allowList,
allowList: r.allowList,
ignoreFunctions: r.ignoreFunctions,
}

Expand All @@ -71,7 +71,7 @@ type lintAddConstantRule struct {
onFailure func(lint.Failure)
strLits map[string]int
strLitLimit int
allowLst allowList
allowList allowList
ignoreFunctions []*regexp.Regexp
}

Expand Down

0 comments on commit 307cab0

Please sign in to comment.