FlagLint scans for LaunchDarkly flag debt, identifies dead code paths, and generates your OpenFeature migration plan. Free and open source.flaglint.devJoined May 2026
LaunchDarkly stays as your provider.
OpenFeature becomes the application-facing API.
No rip-and-replace. No vendor migration project.
Just a clean abstraction boundary
npx flaglint scan ./src — free, local, nothing changes until you say so.
github.com/flaglint/flagl…
flaglint validate --no-direct-launchdarkly
CI gate. Exits 1 if any direct LD evaluation call appears
outside your bootstrap file.
Stops migration rot. New engineers can't accidentally
re-introduce direct ldClient calls without CI catching it.
flaglint migrate --dry-run
Generates before/after diffs — but only for call sites where
the flag key, fallback, type, context, and OpenFeature client
binding are all statically provable.
Dynamic keys, detail methods, bulk calls: reported for manual review.
So I built FlagLint.
AST-based scanner for direct LaunchDarkly Node.js SDK calls.
flaglint scan ./src
Finds every ldClient call, by file and line.
JSON / Markdown / HTML / SARIF output.
Dynamic keys make it worse. const flag = `feature-${name}` await ldClient.boolVariation(flag, ctx, false) You can't safely automate this. The key isn't known until runtime. A codemod that rewrites it anyway is lying to you.
LaunchDarkly: ldClient.boolVariation(key, context, fallback) OpenFeature: openFeatureClient.getBooleanValue(key, fallback, context) Argument order is swapped. A grep-and-replace migration silently puts the wrong value in production for fallback users. Nobody catches.
FlagLint is open source and available now:
npx flaglint scan .
I’m especially looking for feedback from Node.js teams using LaunchDarkly wrappers, shared clients, or complex evaluation patterns.
What would it need to support before you tried it in a real repo?
FlagLint — an open-source CLI for Node.js teams migrating direct LaunchDarkly SDK usage to OpenFeature safely.
✓ Scan direct usage
✓ Preview safe rewrites
✓ Enforce the boundary in CI with SARIF
Try v0.5.1:
npx flaglint scan .
flaglint.dev
Feedback welcome.
113K Followers 769 FollowingCNCF is the home of @kubernetesio, @prometheusio, @envoyproxy, and many more. Join us at #KubeCon November 9-12 in Salt Lake City!
1K Followers 95 FollowingOpen standard for feature flags, created to support a robust feature flag ecosystem using cloud native technologies.
https://t.co/KX2npKlsfH
6K Followers 495 FollowingRuntime control for the AI era. Helping engineering teams ship, govern, and control code and AI agents in production without waiting on a redeploy. 🚀🧑🚀
26.4M Followers 1K FollowingTop and breaking news, pictures and videos from Reuters. For breaking business news, follow @ReutersBiz. Our daily podcast is here: https://t.co/KO0QFy0d3a
5.4M Followers 4 FollowingOpenAI’s mission is to ensure that artificial general intelligence benefits all of humanity. We’re hiring: https://t.co/dJGr6LgzPA
1.5M Followers 47 FollowingCuriosity-driven content across science, history, and culture. Sharing knowledge and stories that spark curiosity.
ct: [email protected]
Sub for only $3⤴️.