Skip to content

Optionally record user activity in web frontend to database for analysis #44

Optionally record user activity in web frontend to database for analysis

Optionally record user activity in web frontend to database for analysis #44

Triggered via pull request November 8, 2024 09:48
@mjkw31mjkw31
synchronize #4
feature/spyware
Status Failure
Total duration 3m 14s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 4 warnings
lint: analytics/server.go#L43
`if err != nil` has complex nested blocks (complexity: 2) (nestif)
lint: analytics/index_dev.go#L10
index is a global variable (gochecknoglobals)
lint: analytics/server.go#L94
return both the `nil` error and invalid value: use a sentinel error instead (nilnil)
lint: analytics/server.go#L104
return both the `nil` error and invalid value: use a sentinel error instead (nilnil)
lint: analytics/server.go#L113
return both the `nil` error and invalid value: use a sentinel error instead (nilnil)
lint
issues found
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v3, actions/checkout@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint: analytics/server.go#L93
unused-parameter: parameter 'i' seems to be unused, consider removing or renaming it as _ (revive)
lint: analytics/server.go#L103
unused-parameter: parameter 'i' seems to be unused, consider removing or renaming it as _ (revive)
lint: analytics/server.go#L112
unused-parameter: parameter 'i' seems to be unused, consider removing or renaming it as _ (revive)