Skip to content

chore: 更新lint规则 #371

chore: 更新lint规则

chore: 更新lint规则 #371

Triggered via push November 9, 2024 09:48
Status Failure
Total duration 39s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: client/packets/oidb/group_folder_rename.go#L23
use of `print` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
lint: utils/audio/info.go#L34
ifElseChain: rewrite if-else to switch statement (gocritic)
lint: message/elements.go#L252
captLocal: `Summary' should not be capitalized (gocritic)
lint: client/operation.go#L501
ifElseChain: rewrite if-else to switch statement (gocritic)
lint: client/packets/wtlogin/login_state/enum.go#L1
var-naming: don't use an underscore in package name (revive)
lint: client/packets/wtlogin/qrcode_state/enum.go#L1
var-naming: don't use an underscore in package name (revive)
lint: client/entity/friend.go#L5
var-naming: struct field Uid should be UID (revive)
lint: client/entity/group.go#L71
var-naming: struct field InvitorUid should be InvitorUID (revive)
lint: client/entity/group.go#L73
var-naming: struct field TargetUid should be TargetUID (revive)
lint: client/entity/group.go#L75
var-naming: struct field OperatorUid should be OperatorUID (revive)