Vec 210 acl #13
Annotations
10 errors and 1 warning
cmd/writers/roleList.go#L21
commentedOutCode: may want to remove commented-out code (gocritic)
|
cmd/writers/roleList.go#L28
commentedOutCode: may want to remove commented-out code (gocritic)
|
cmd/utils.go#L106
equalFold: consider replacing with strings.EqualFold(confirm, "y") (gocritic)
|
cmd/utils.go#L89
ifElseChain: rewrite if-else to switch statement (gocritic)
|
cmd/flags/constants.go#L36
G101: Potential hardcoded credentials (gosec)
|
cmd/flags/client.go#L12
fieldalignment: struct with 176 pointer bytes could be 168 (govet)
|
cmd/flags/tls.go#L11
fieldalignment: struct with 112 pointer bytes could be 104 (govet)
|
cmd/userDrop.go#L41
printf: fmt.Sprintf call needs 2 args but has 3 args (govet)
|
cmd/utils.go#L42
if statements should only be cuddled with assignments used in the if statement itself (wsl)
|
cmd/userCreate.go#L17
directive `//nolint:govet // Padding not a concern for a CLI` is unused for linter "govet" (nolintlint)
|
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, 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/
|
This job failed
Loading