Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ lastUpdated: 2026-06-22

This guide walks through every step of migrating direct LaunchDarkly Node.js SDK calls to OpenFeature using FlagLint — from the initial audit to enforcing the boundary in CI.

*Verified with FlagLint v1.0.0 · Node.js · OpenFeature · LaunchDarkly*
*Verified with FlagLint v1.1.0 · Node.js · OpenFeature · LaunchDarkly*

---

Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/docs/reference/json-output.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ object that should be committed to source control alongside your code.
{
"version": 1,
"createdAt": "2026-06-22T14:30:00.000Z",
"flaglintVersion": "1.0.0",
"flaglintVersion": "1.1.0",
"fingerprints": [
"launchdarkly:boolVariation:checkout-v2:src/checkout/service.ts",
"launchdarkly:stringVariation:payment-provider:src/payments/processor.ts"
Expand Down
2 changes: 1 addition & 1 deletion src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -906,7 +906,7 @@ const jsonLd = {
<span class="dot yellow"></span>
<span class="dot green"></span>
</div>
<span class="term-version">flaglint v1.0.0</span>
<span class="term-version">flaglint v1.1.0</span>

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Use the shared version value here.

This header still hardcodes v1.1.0 even though the file already derives version from package.json. Wiring the terminal label to version keeps the hero demo in sync and avoids the next drift.

♻️ Proposed fix
-            <span class="term-version">flaglint v1.1.0</span>
+            <span class="term-version">flaglint v{version}</span>
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
<span class="term-version">flaglint v1.1.0</span>
<span class="term-version">flaglint v{version}</span>
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/pages/index.astro` at line 909, The hero terminal label is still
hardcoded with a fixed version string instead of using the shared
package-derived value. Update the `index.astro` template where the
`term-version` span is rendered to use the existing `version` variable so the
displayed app version stays in sync with `package.json` and the rest of the
page.

</div>
<div class="terminal-body">
<pre><span class="t-dim">$</span> npx flaglint audit ./src --effort-estimate
Expand Down
Loading