Use golangci-lint instead of golint #1316
Annotations
10 errors and 4 warnings
internal/project/packageindex/packageindex_test.go#L39
Error return value is not checked (errcheck)
|
internal/configuration/configuration_test.go#L46
Error return value of `flags.Set` is not checked (errcheck)
|
internal/configuration/configuration_test.go#L49
Error return value of `flags.Set` is not checked (errcheck)
|
internal/configuration/configuration_test.go#L55
Error return value of `flags.Set` is not checked (errcheck)
|
internal/configuration/configuration_test.go#L110
Error return value of `os.Setenv` is not checked (errcheck)
|
internal/configuration/configuration_test.go#L114
Error return value of `os.Setenv` is not checked (errcheck)
|
internal/configuration/configuration_test.go#L122
Error return value of `os.Setenv` is not checked (errcheck)
|
internal/project/project_test.go#L46
Error return value of `libraryPath.RemoveAll` is not checked (errcheck)
|
internal/project/project_test.go#L61
Error return value of `configuration.Initialize` is not checked (errcheck)
|
internal/project/project_test.go#L63
Error return value is not checked (errcheck)
|
The following actions use a deprecated Node.js version and will be forced to run on node20: 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/
|
internal/project/projectdata/sketch.go#L25
unused-parameter: parameter 'project' seems to be unused, consider removing or renaming it as _ (revive)
|
internal/rule/ruleconfiguration/ruleconfiguration_test.go#L62
increment-decrement: should replace modeCounter += 1 with modeCounter++ (revive)
|
main.go#L17
package-comments: should have a package comment (revive)
|
The logs for this run have expired and are no longer available.
Loading