Skip to content

Commit

Permalink
var-naming: revert config params to old values
Browse files Browse the repository at this point in the history
  • Loading branch information
mfederowicz committed Dec 1, 2023
1 parent c3a4e8d commit 494b300
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rule/var-naming.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ func (r *VarNamingRule) configure(arguments lint.Arguments) {

r.configured = true
if len(arguments) >= 1 {
r.allowlist = getList(arguments[0], "allowlist")
r.allowlist = getList(arguments[0], "whitelist")
}

if len(arguments) >= 2 {
r.blocklist = getList(arguments[1], "blocklist")
r.blocklist = getList(arguments[1], "blacklist")
}

if len(arguments) >= 3 {
Expand Down

0 comments on commit 494b300

Please sign in to comment.