Your feature flags are rotting.
FeatureLint finds them.

Find stale feature flags, nested flag complexity, SDK misuse, missing defaults, lifecycle violations, and flag architecture issues — before they take down production.

$ clawhub install featurelint click to copy
featurelint scan
$ featurelint scan src/
🚩 FeatureLint v1.0.0
 
Scanning 142 files across 8 directories...
 
  features/checkout.ts:34
    ✗ [CRITICAL] SF-001: Feature flag 'new-checkout-flow' unchanged for 180+ days
    → Stale flags increase complexity — remove or promote to permanent config
 
  components/Dashboard.tsx:89
    ⚠ [HIGH] FC-003: 4 levels of nested feature flag conditions
    → Flatten flag logic or extract into a feature gate utility
 
  services/payments.js:12
    ⚠ [HIGH] FS-002: Flag evaluation without default/fallback value
    → Always provide a safe default when evaluating feature flags
 
  config/flags.ts:56
    ⚡ [MEDIUM] FL-004: Feature flag without documented owner
    → Add @owner annotation so flags can be traced back to teams
 
  utils/featureGate.ts:23
    ⚡ [MEDIUM] SM-007: Flag evaluated inside a loop without caching
    → Cache flag value before the loop to avoid repeated SDK calls
 
  ────────────────────────────────────────────────
  Files scanned: 142  |  Issues: 1 critical  2 high  2 medium
  Score: 55/100 (Grade: F)
 
  Run featurelint scan --fix to apply auto-fixes, or featurelint report for full HTML report.

Your feature flags are rotting.

Teams add flags for every release, then never remove them. Six months later, your codebase has 47 flags, nobody knows which are safe to remove, and one accidental toggle takes down checkout. FeatureLint scans your entire codebase for flag hygiene issues, stale references, and lifecycle violations so your flags stay manageable.

90
Detection patterns
6
Check categories
100%
Local — zero telemetry
0
Dependencies

What FeatureLint Catches

90 checks across 6 categories, covering every aspect of feature flag hygiene and lifecycle management.

SF
🧊

Stale Flags

Detects feature flags older than 90 days, TODO flags never removed, commented-out flag checks, dead flag references in config files, and orphaned flags with no matching evaluation in code.

15 checks
FC
🧩

Flag Complexity

Finds deeply nested flag conditions, flag combinations without documentation, boolean flag chains, excessive flag branching, overlapping flag logic, and conditions that create untestable code paths.

15 checks
FS
🛡

Flag Safety

Catches missing default values, flags without fallback behavior, no kill switch capability, flags controlling critical paths without circuit breakers, and unsafe flag-dependent error handling.

15 checks
SM

SDK Misuse

Detects evaluating flags in loops, flag evaluation in hot paths without caching, wrong SDK init patterns, multiple SDK instances, synchronous calls where async is needed, and leaked flag contexts.

15 checks
FL
🔄

Flag Lifecycle

Catches flags without removal date annotations, flags without an owner, missing flag documentation, no sunset plan, flags past their planned removal date, and undefined lifecycle stages.

15 checks
FA
🏗

Flag Architecture

Finds business logic coupled to flag names, flags used for permanent configuration, flag spaghetti patterns, flags controlling database schemas, cross-service flag dependencies, and flag naming violations.

15 checks

FeatureLint vs. Alternatives

Purpose-built for feature flag hygiene. Nothing else comes close.

Capability FeatureLint LaunchDarkly Lint Manual Audit grep for flags SonarQube
Stale flag detection ✓ 15 checks Partial Ad hoc
Nested complexity analysis ✓ Automated Manual Basic
SDK misuse detection ✓ 15 checks Basic
Lifecycle tracking ✓ Full Partial Spreadsheet
Architecture patterns ✓ 15 checks Ad hoc
Vendor-agnostic ✗ LD only
Runs locally / offline
Zero dependencies N/A
Scoring & grading
Setup time 30 seconds 15 minutes Hours Immediate 30+ minutes

FeatureLint Free vs. Pro vs. Team

Choose the plan that matches your feature flag management needs.

Feature Free Pro Team
Detection patterns 30 60 90 (all)
Stale Flags (SF) checks
Flag Complexity (FC) checks
Flag Safety (FS) checks
SDK Misuse (SM) checks
Flag Lifecycle (FL) checks
Flag Architecture (FA) checks
Terminal report
JSON report
HTML report
Category filtering
Verbose output
CI/CD integration
Custom rules
Support Community Email Priority

Simple, transparent pricing

Start scanning for free. Upgrade when your flag debt demands it.

Free
$0/mo
For solo developers who want basic flag hygiene.
  • 30 detection patterns
  • Stale Flags (SF) category
  • Flag Complexity (FC) category
  • Terminal report output
  • Basic scoring & grading
  • Community support
Install Free
Team
$39/mo
For teams enforcing flag discipline across every repo.
  • All 90 detection patterns
  • Everything in Pro
  • Flag Lifecycle (FL) category
  • Flag Architecture (FA) category
  • CI/CD integration
  • Custom rule definitions
  • Priority support

Get notified about updates

No spam. One email per week max. Unsubscribe anytime.

Stop letting stale flags rot your codebase

Install FeatureLint in 30 seconds. Find every stale flag, missing default, and lifecycle violation before one accidental toggle takes down production.

$ clawhub install featurelint click to copy