Skip to content

Handle cursor area with custom writer #19

Handle cursor area with custom writer

Handle cursor area with custom writer #19

Triggered via pull request July 18, 2023 20:15
Status Failure
Total duration 36s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
lint: area.go#L26
Comment should end in a period (godot)
lint: area.go#L30
return statements should not be cuddled if block has more than two lines (wsl)
lint: area.go#L39
if statements should only be cuddled with assignments (wsl)
lint: area.go#L62
expressions should not be cuddled with blocks (wsl)
lint: area.go#L73
expressions should not be cuddled with blocks (wsl)
lint: cursor.go#L27
return statements should not be cuddled if block has more than two lines (wsl)
lint: utils.go#L34
if statements should only be cuddled with assignments (wsl)
lint: utils.go#L85
assignments should only be cuddled with other assignments (wsl)
lint: cursor_test.go#L14
if statements should only be cuddled with assignments (wsl)
lint: area.go#L20
height, cursorPosY are missing in Area (exhaustruct)
lint: cursor.go#L61
increment-decrement: should replace n += 1 with n++ (revive)
lint: cursor.go#L17
exported: exported function NewCursor should have comment or be unexported (revive)
lint: utils.go#L21
exported: exported function SetTarget should have comment or be unexported (revive)