Summary
Daily custom lint scan found 3 non-shared largefunc findings outside the consolidated pkg/workflow + pkg/cli backlog. These are small, targeted refactors suitable for one cleanup slice.
Findings
pkg/console/console.go:190: RenderTable is 67 lines long (limit: 60)
pkg/github/label_objective_mapping.go:36: ComputeObjectiveValue is 67 lines long (limit: 60)
pkg/parser/schema_suggestions.go:649: findFieldLocationsInSchema is 72 lines long (limit: 60)
Expected outcome
Refactor the listed functions below the 60-line threshold without changing behavior or widening scope.
Remediation checklist
Fused guidance for Copilot
- Prefer many small focused files/functions over large monolithic ones
- Use minimal, targeted code edits
- Validate the finished slice with
make golint-custom
- Do not broaden the change beyond this lint group
Generated by 🧌 LintMonster · 38 AIC · ⌖ 15.1 AIC · ⊞ 4.4K · ◷
Summary
Daily custom lint scan found 3 non-shared
largefuncfindings outside the consolidatedpkg/workflow+pkg/clibacklog. These are small, targeted refactors suitable for one cleanup slice.Findings
pkg/console/console.go:190: RenderTable is 67 lines long (limit: 60)pkg/github/label_objective_mapping.go:36: ComputeObjectiveValue is 67 lines long (limit: 60)pkg/parser/schema_suggestions.go:649: findFieldLocationsInSchema is 72 lines long (limit: 60)Expected outcome
Refactor the listed functions below the 60-line threshold without changing behavior or widening scope.
Remediation checklist
make golint-customafter the editsFused guidance for Copilot
make golint-custom