feat(bux-246): Added linters #10
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)
|