Skip to content

Configuration

FlagLint reads the first matching config file from:

.flaglintrc
.flaglintrc.json
flaglint.config.json

Use --config <path> to pass a specific file.

{
"include": ["**/*.{ts,js}"],
"exclude": ["**/node_modules/**", "**/dist/**"],
"provider": "launchdarkly",
"minFileCount": 0,
"wrappers": ["evaluateFlag"],
"openFeatureClientBindings": [
{
"importName": "openFeatureClient",
"modulePatterns": ["**/platform/feature-flags"]
}
]
}
FieldDefaultPurpose
include["**/*.{ts,tsx,js,jsx}"]Files to scan.
excludecommon build/test outputFiles to skip.
providerlaunchdarklyCurrent implemented provider scope.
minFileCount0Optional local source review heuristic.
wrappers[]Wrapper call names to report for manual review.
openFeatureClientBindings[]Imported shared client allowlist for migrate --apply.
reportTitleunsetOptional report title.
outputDir.Reserved CLI output setting.