Skip to content

chore(ci): add lint def yaml (#114) #370

chore(ci): add lint def yaml (#114)

chore(ci): add lint def yaml (#114) #370

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

Annotations

10 errors
lint: utils/operator.go#L14
use of `fmt.Print` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
lint: client/packets/oidb/group_folder_rename.go#L23
use of `print` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
lint: client/album.go#L58
use of `fmt.Println` 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#L189
captLocal: `Summary' should not be capitalized (gocritic)
lint: message/elements.go#L193
captLocal: `Summary' should not be capitalized (gocritic)
lint: message/elements.go#L220
captLocal: `Summary' should not be capitalized (gocritic)
lint: message/message.go#L193
ifElseChain: rewrite if-else to switch statement (gocritic)
lint: client/packets/tlv/qrcode.go#L45
captLocal: `PtOSVersion' should not be capitalized (gocritic)
lint: client/packets/tlv/qrcode.go#L49
captLocal: `PtOSVersion' should not be capitalized (gocritic)