Linter PR 3: enable additional linters #456
Annotations
10 errors and 1 warning
lint:
internal/api/lib.go#L86
Error return value of `cache.lockfile.Close` is not checked (errcheck)
|
lint:
lib_libwasmvm_test.go#L42
Error return value of `os.RemoveAll` is not checked (errcheck)
|
lint:
internal/api/lib.go#L76
dupSubExpr: suspicious identical LHS and RHS for `==` operator (gocritic)
|
lint:
internal/api/lib.go#L93
dupSubExpr: suspicious identical LHS and RHS for `==` operator (gocritic)
|
lint:
internal/api/lib.go#L104
dupSubExpr: suspicious identical LHS and RHS for `==` operator (gocritic)
|
lint:
internal/api/lib.go#L115
dupSubExpr: suspicious identical LHS and RHS for `==` operator (gocritic)
|
lint:
internal/api/lib.go#L126
dupSubExpr: suspicious identical LHS and RHS for `==` operator (gocritic)
|
lint:
internal/api/lib.go#L137
dupSubExpr: suspicious identical LHS and RHS for `==` operator (gocritic)
|
lint:
internal/api/lib.go#L148
dupSubExpr: suspicious identical LHS and RHS for `==` operator (gocritic)
|
lint:
internal/api/lib.go#L159
dupSubExpr: suspicious identical LHS and RHS for `==` operator (gocritic)
|
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|