Skip to content

Supported Scope

FlagLint currently supports LaunchDarkly Node.js server-side SDK evaluation calls in JavaScript and TypeScript from:

  • @launchdarkly/node-server-sdk
  • legacy launchdarkly-node-server-sdk

Browser SDKs, React SDKs, non-Node SDKs, and non-LaunchDarkly providers are outside current detection coverage and do not appear in reports.

PatternScanApplyManual ReviewUnsupported
variation("key", ctx, false) with literal fallbackYesYes, when type and OpenFeature binding are provenNoNo
boolVariation("key", ctx, false)YesYes, when OpenFeature binding is provenNoNo
stringVariation("key", ctx, "control")YesYes, when OpenFeature binding is provenNoNo
numberVariation("key", ctx, 100)YesYes, when OpenFeature binding is provenNoNo
jsonVariation("key", ctx, {...})YesYes, when OpenFeature binding is provenNoNo
Dynamic flag keysYesNoYesNo
*VariationDetail(...) methodsYesNoYesNo
allFlags() and allFlagsState()YesNoYesNo
Unknown fallback typeYesNoYesNo
Configured wrappersYesNoYesNo
Ambiguous OpenFeature client bindingYesNoYesNo
Browser SDKsNoNoNoYes
React SDKs/hooks/HOCsNoNoNoYes
Go, Java, Python, or other SDKsNoNoNoYes
Non-LaunchDarkly providersNoNoNoYes

FlagLint resolves LaunchDarkly client provenance from supported SDK imports only:

import * as LaunchDarkly from "@launchdarkly/node-server-sdk";
const client = LaunchDarkly.init("sdk-key");
import { init as ldInit } from "@launchdarkly/node-server-sdk";
const client = ldInit("sdk-key");
const { init: ldInit } = require("@launchdarkly/node-server-sdk");
const client = ldInit("sdk-key");

Unrelated functions named init, ldInit, client, feature, flag, or similar do not establish LaunchDarkly provenance.