Skip to content

Commit 0fc5af7

Browse files
committed
linter ignore bool "suspicious assignment to a by-value method receiver" error
1 parent d8ab670 commit 0fc5af7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.golangci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,3 +144,7 @@ issues:
144144
- path: models/user/openid.go
145145
linters:
146146
- golint
147+
# does not work with bool
148+
- path: modules/charset/escape.go
149+
linters:
150+
- revive

0 commit comments

Comments
 (0)