fix: Add nolint comments for gosec/errcheck/unparam warnings
Fixes CI lint failures by adding appropriate nolint directives for: - G204 (subprocess with variable) - git commands with trusted inputs - G304 (file inclusion via variable) - paths from internal helpers - G302/G306 (file permissions) - .gitignore needs 0644 - errcheck (unchecked return values) - fmt.Fprint* to stdout/stderr - unparam (unused parameters) - reserved for future use
This commit is contained in:
@@ -315,7 +315,9 @@ func analyzeEpicForSwarm(ctx context.Context, s SwarmStorage, epic *types.Issue)
|
||||
}
|
||||
|
||||
// detectStructuralIssues looks for common problems in the dependency graph.
|
||||
func detectStructuralIssues(analysis *SwarmAnalysis, issues []*types.Issue) {
|
||||
//
|
||||
//nolint:unparam // issues reserved for future use
|
||||
func detectStructuralIssues(analysis *SwarmAnalysis, _ []*types.Issue) {
|
||||
// 1. Find roots (issues with no dependencies within the epic)
|
||||
// These are the starting points. Having multiple roots is normal.
|
||||
var roots []string
|
||||
|
||||
Reference in New Issue
Block a user