mirror of
				https://github.com/go-gitea/gitea
				synced 2025-10-31 19:38:23 +00:00 
			
		
		
		
	enforce nolint scope (#34851)
enable nolintlint scope requirement add comments to new directives so it's more obvious why they are in place --- I can also toggle the mandatory comments on if that's something of interest. --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: Giteabot <teabot@gitea.io>
This commit is contained in:
		| @@ -61,7 +61,7 @@ func (err ErrRepoTransferInProgress) Unwrap() error { | ||||
| } | ||||
|  | ||||
| // RepoTransfer is used to manage repository transfers | ||||
| type RepoTransfer struct { //nolint | ||||
| type RepoTransfer struct { //nolint:revive // export stutter | ||||
| 	ID          int64 `xorm:"pk autoincr"` | ||||
| 	DoerID      int64 | ||||
| 	Doer        *user_model.User `xorm:"-"` | ||||
|   | ||||
		Reference in New Issue
	
	Block a user