Skip to content

Add base working prototype #10

Add base working prototype

Add base working prototype #10

Triggered via pull request May 10, 2024 19:53
@icerzackicerzack
synchronize #1
feat/base
Status Failure
Total duration 32s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
lint: internal/rest/ws/handler.go#L149
ifElseChain: rewrite if-else to switch statement (gocritic)
lint: internal/rest/ws/handler.go#L307
line is 134 characters (lll)
lint: internal/rest/ws/handler.go#L281
Consider pre-allocating `userIDs` (prealloc)
lint: internal/rest/ws/handler.go#L338
Consider pre-allocating `userIDs` (prealloc)
lint: internal/rest/ws/handler.go#L378
func `(*WebSocketHandler).sendUserFailedToConnect` is unused (unused)
lint: cmd/config.go#L18
yaml(snake): got 'jwt_url' want 'jwt_validation_url' (tagliatelle)
lint: cmd/config.go#L19
yaml(snake): got 'board_url' want 'board_validation_url' (tagliatelle)
lint: internal/rest/ws/messages.go#L27
json(snake): got 'user_ids' want 'user_i_ds' (tagliatelle)
lint: internal/rest/ws/messages.go#L52
json(snake): got 'user_ids' want 'user_i_ds' (tagliatelle)
lint
issues found
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint: internal/rest/ws/handler.go#L118
unused-parameter: parameter 'conn' seems to be unused, consider removing or renaming it as _ (revive)
lint: internal/rest/ws/handler.go#L180
unused-parameter: parameter 'conn' seems to be unused, consider removing or renaming it as _ (revive)