imp(cli): Use Cobra for CLI #5
Annotations
10 errors and 4 warnings
Run golangci-lint:
report/markdown.go#L27
G306: Expect WriteFile permissions to be 0600 or less (gosec)
|
Run golangci-lint:
report/report.go#L18
error-strings: error strings should not be capitalized or end with punctuation or a newline (revive)
|
Run golangci-lint:
report/report.go#L23
error-strings: error strings should not be capitalized or end with punctuation or a newline (revive)
|
Run golangci-lint:
report/markdown.go#L18
error-strings: error strings should not be capitalized or end with punctuation or a newline (revive)
|
Run golangci-lint:
report/markdown.go#L39
buildSpecMap - result 1 (error) is always nil (unparam)
|
Run golangci-lint:
example-report/example_test.go#L8
dot-imports: should not use dot imports (revive)
|
Run golangci-lint:
example-report/example_test.go#L9
dot-imports: should not use dot imports (revive)
|
Run golangci-lint:
report/report_test.go#L6
dot-imports: should not use dot imports (revive)
|
Run golangci-lint:
cmd/root.go#L40
ST1005: error strings should not be capitalized (stylecheck)
|
Run golangci-lint
issues found
|
Run golangci-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, technote-space/[email protected], golangci/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run golangci-lint
Restore cache failed: Dependencies file is not found in /home/runner/work/ginkgo-parser/ginkgo-parser. Supported file pattern: go.sum
|
Run golangci-lint:
cmd/root.go#L12
var-naming: don't use ALL_CAPS in Go names; use CamelCase (revive)
|
Run golangci-lint:
cmd/root.go#L13
var-naming: don't use ALL_CAPS in Go names; use CamelCase (revive)
|