lint-dead-code

command
v1.17.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Command lint-dead-code detects dead Cobra flag bindings and dead unexported helpers under internal/commands/ via AST analysis.

Behaviour is warn-only by default (exits 0 even when findings are present) for a 2-week calibration window. Pass --gate to flip to exit-2 on findings.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL