mirror of
https://github.com/go-gitea/gitea
synced 2025-07-25 11:48:37 +00:00
enforce explanation for necessary nolints and fix bugs (#34883)
Follows up https://github.com/go-gitea/gitea/pull/34851 --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
@@ -19,7 +19,7 @@ type Badge struct {
|
||||
}
|
||||
|
||||
// UserBadge represents a user badge
|
||||
type UserBadge struct { //nolint:revive
|
||||
type UserBadge struct { //nolint:revive // export stutter
|
||||
ID int64 `xorm:"pk autoincr"`
|
||||
BadgeID int64
|
||||
UserID int64 `xorm:"INDEX"`
|
||||
|
Reference in New Issue
Block a user