Configuration
FlagLint reads the first matching config file from:
.flaglintrc.flaglintrc.jsonflaglint.config.jsonUse --config <path> to pass a specific file.
Example
Section titled “Example”{ "include": ["**/*.{ts,js}"], "exclude": ["**/node_modules/**", "**/dist/**"], "provider": "launchdarkly", "minFileCount": 0, "wrappers": ["evaluateFlag"], "openFeatureClientBindings": [ { "importName": "openFeatureClient", "modulePatterns": ["**/platform/feature-flags"] } ]}Fields
Section titled “Fields”| Field | Default | Purpose |
|---|---|---|
include | ["**/*.{ts,tsx,js,jsx}"] | Files to scan. |
exclude | common build/test output | Files to skip. |
provider | launchdarkly | Current implemented provider scope. |
minFileCount | 0 | Optional local source review heuristic. |
wrappers | [] | Wrapper call names to report for manual review. |
openFeatureClientBindings | [] | Imported shared client allowlist for migrate --apply. |
reportTitle | unset | Optional report title. |
outputDir | . | Reserved CLI output setting. |