Skip to content

feat(bux-246): Added linters #10

feat(bux-246): Added linters

feat(bux-246): Added linters #10

Triggered via pull request April 4, 2024 10:57
Status Failure
Total duration 23s
Artifacts

code-style-linter.yml

on: pull_request
style-lint
15s
style-lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors
style-lint: config/load_test.go#L35
Error return value of `os.Setenv` is not checked (errcheck)
style-lint: config/load_test.go#L43
Error return value of `os.Unsetenv` is not checked (errcheck)
style-lint: tests/tests.go#L55
suite-dont-use-pkg: use ts.Require().NotNil (testifylint)
style-lint: tests/tests.go#L58
suite-dont-use-pkg: use ts.Require().NoError (testifylint)
style-lint: config/load_test.go#L23
expected-actual: need to reverse actual and expected values (testifylint)
style-lint: config/validate_authentication_test.go#L20
bool-compare: use assert.True (testifylint)
style-lint: config/validate_authentication_test.go#L28
bool-compare: use assert.False (testifylint)
style-lint: config/validate_nodes_test.go#L28
require-error: for error assertions use require (testifylint)
style-lint: config/load_test.go#L40
require-error: for error assertions use require (testifylint)
style-lint: config/load_test.go#L22
require-error: for error assertions use require (testifylint)