Revamping GitHub actions setup #6
Annotations
10 errors and 7 warnings
golangci-lint:
pkg/cirularRefDetector/circularRefs.go#L78
assignOp: replace `diag.Detail = diag.Detail + "\n at <missing location info>"` with `diag.Detail += "\n at <missing location info>"` (gocritic)
|
golangci-lint:
pkg/cirularRefDetector/circularRefs.go#L1
var-naming: don't use MixedCaps in package name; circularRefDetector should be circularrefdetector (revive)
|
golangci-lint:
pkg/cirularRefDetector/circularRefs.go#L24
ST1022: comment on exported var ExtraMarker should be of the form "ExtraMarker ..." (stylecheck)
|
golangci-lint:
pkg/cirularRefDetector/circularRefs_test.go#L1
var-naming: don't use MixedCaps in package name; circularRefDetector_test should be circularrefdetector_test (revive)
|
golangci-lint:
pkg/cirularRefDetector/circularRefs_test.go#L80
var-naming: don't use underscores in Go names; var orig_diag should be origDiag (revive)
|
golangci-lint:
pkg/cirularRefDetector/circularRefs_test.go#L87
var-naming: don't use underscores in Go names; var diag_copy should be diagCopy (revive)
|
golangci-lint:
pkg/diagnostics/printer.go#L28
Error return value of `diagWriter.WriteDiagnostic` is not checked (errcheck)
|
golangci-lint:
pkg/diagnostics/diagnostics.go#L13
ST1022: comment on exported var RepeatedError should be of the form "RepeatedError ..." (stylecheck)
|
golangci-lint:
pkg/parexec/limiter_test.go#L1
package should be `parexec_test` instead of `parexec` (testpackage)
|
golangci-lint:
plugins/content/openai/client/client_test.go#L45
Error return value of `w.Write` is not checked (errcheck)
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: 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/.
|
golangci-lint:
plugins/data/json/read.go#L9
exported: type name will be used as json.JSONDocument by other packages, and that stutters; consider calling this Document (revive)
|
golangci-lint:
plugins/data/sqlite/plugin.go#L11
blank-imports: a blank import should be only in a main or test package, or have a comment justifying it (revive)
|
golangci-lint:
plugins/data/postgresql/plugin.go#L12
blank-imports: a blank import should be only in a main or test package, or have a comment justifying it (revive)
|
golangci-lint:
parser/evaluator.go#L109
empty-block: this block is empty, you can remove it (revive)
|
golangci-lint:
parser/mockPluginCaller.go#L69
unused-parameter: parameter 'name' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
parser/mockPluginCaller.go#L80
unused-parameter: parameter 'name' seems to be unused, consider removing or renaming it as _ (revive)
|
The logs for this run have expired and are no longer available.
Loading