Skip to content

chore: v2.5#4223

Merged
ematipico merged 95 commits into
mainfrom
next
Jun 12, 2026
Merged

chore: v2.5#4223
ematipico merged 95 commits into
mainfrom
next

Conversation

@ematipico

@ematipico ematipico commented May 8, 2026

Copy link
Copy Markdown
Member

Summary

Important

  • Use merge commit
  • To merge after the release

github-actions Bot and others added 30 commits November 27, 2025 21:48
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Carson McManus <dyc3@users.noreply.github.com>

Co-authored-by: dyc3 <1808807+dyc3@users.noreply.github.com>
Co-authored-by: chansuke <501052+chansuke@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
# Conflicts:
#	Cargo.lock
#	Cargo.toml
#	package.json
#	pnpm-lock.yaml
#	src/pages/metadata/rules.json.js
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
# Conflicts:
#	Cargo.lock
#	Cargo.toml
#	package.json
#	pnpm-lock.yaml
#	src/components/generated/linter/NumberOfRules.astro
#	src/content/docs/linter/domains.mdx
#	src/content/docs/linter/html/rules.mdx
#	src/content/docs/linter/javascript/rules.mdx
#	src/content/docs/linter/rules/no-proto.mdx
#	src/content/docs/linter/rules/no-undeclared-env-vars.mdx
#	src/content/docs/linter/rules/no-useless-undefined.mdx
#	src/content/docs/linter/rules/use-spread.mdx
#	src/pages/metadata/rules.json.js
#	src/playground/workers/prettierWorker.ts
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: dyc3 <1808807+dyc3@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
@github-actions

github-actions Bot commented May 8, 2026

Copy link
Copy Markdown
Contributor

Lunaria Status Overview

🌕 This pull request will trigger status changes.

Learn more

By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.

You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale File Note
en src/content/docs/editors/first-party-extensions.mdx Source added, will be tracked.
en src/content/docs/editors/introduction.mdx Source added, will be tracked.
en src/content/docs/editors/third-party-extensions.mdx Source added, will be tracked.
es src/content/docs/editors/create-an-extension.mdx Localization added, will be marked as complete.
es src/content/docs/editors/first-party-extensions.mdx Localization added, will be marked as complete.
es src/content/docs/editors/third-party-extensions.mdx Localization added, will be marked as complete.
es src/content/docs/guides/getting-started.mdx Localization changed, will be marked as complete.
es src/content/docs/index.mdx Localization changed, will be marked as complete. 🔄️
es src/content/docs/internals/language-support.mdx Localization changed, will be marked as complete.
en src/content/docs/formatter/index.mdx Source changed, localizations will be marked as outdated.
fr src/content/docs/editors/create-an-extension.mdx Localization added, will be marked as complete.
fr src/content/docs/editors/first-party-extensions.mdx Localization added, will be marked as complete.
fr src/content/docs/editors/third-party-extensions.mdx Localization added, will be marked as complete.
fr src/content/docs/guides/getting-started.mdx Localization changed, will be marked as complete.
fr src/content/docs/index.mdx Localization changed, will be marked as complete. 🔄️
fr src/content/docs/internals/language-support.mdx Localization changed, will be marked as complete.
en src/content/docs/guides/editors/create-an-extension.mdx Source removed, will stop being tracked.
en src/content/docs/guides/getting-started.mdx Source changed, localizations will be marked as outdated.
en src/content/docs/guides/integrate-in-vcs.mdx Source changed, localizations will be marked as outdated.
en src/content/docs/guides/manual-installation.mdx Source changed, localizations will be marked as outdated.
en src/content/docs/index.mdx Source changed, localizations will be marked as outdated.
en src/content/docs/internals/language-support.mdx Source changed, localizations will be marked as outdated.
ja src/content/docs/editors/create-an-extension.mdx Localization added, will be marked as complete.
ja src/content/docs/editors/first-party-extensions.mdx Localization added, will be marked as complete.
ja src/content/docs/editors/third-party-extensions.mdx Localization added, will be marked as complete.
ja src/content/docs/guides/getting-started.mdx Localization changed, will be marked as complete.
ja src/content/docs/index.mdx Localization changed, will be marked as complete. 🔄️
ja src/content/docs/internals/language-support.mdx Localization changed, will be marked as complete.
en src/content/docs/linter/css/rules.mdx Source changed, localizations will be marked as outdated.
en src/content/docs/linter/html/rules.mdx Source changed, localizations will be marked as outdated.
en src/content/docs/linter/javascript/rules.mdx Source changed, localizations will be marked as outdated.
en src/content/docs/linter/plugins.mdx Source changed, localizations will be marked as outdated.
pl src/content/docs/editors/create-an-extension.mdx Localization added, will be marked as complete.
pl src/content/docs/editors/first-party-extensions.mdx Localization added, will be marked as complete.
pl src/content/docs/editors/third-party-extensions.mdx Localization added, will be marked as complete.
pl src/content/docs/guides/getting-started.mdx Localization changed, will be marked as complete.
pl src/content/docs/index.mdx Localization changed, will be marked as complete. 🔄️
pl src/content/docs/internals/language-support.mdx Localization changed, will be marked as complete.
pt-BR src/content/docs/guides/getting-started.mdx Localization changed, will be marked as complete.
pt-BR src/content/docs/index.mdx Localization changed, will be marked as complete. 🔄️
pt-BR src/content/docs/internals/language-support.mdx Localization changed, will be marked as complete.
en src/content/docs/reference/configuration.mdx Source changed, localizations will be marked as outdated.
en src/content/docs/reference/daemon.md Source added, will be tracked.
en src/content/docs/reference/gritql.mdx Source changed, localizations will be marked as outdated.
en src/content/docs/reference/reporters.mdx Source changed, localizations will be marked as outdated.
en src/content/docs/reference/vscode.mdx Source changed, localizations will be marked as outdated.
en src/content/docs/reference/zed.mdx Source changed, localizations will be marked as outdated.
ru src/content/docs/guides/getting-started.mdx Localization changed, will be marked as complete.
ru src/content/docs/index.mdx Localization changed, will be marked as complete. 🔄️
uk src/content/docs/index.mdx Localization changed, will be marked as complete. 🔄️
zh-CN src/content/docs/editors/create-an-extension.mdx Localization added, will be marked as complete.
zh-CN src/content/docs/editors/first-party-extensions.mdx Localization added, will be marked as complete.
zh-CN src/content/docs/editors/third-party-extensions.mdx Localization added, will be marked as complete.
zh-CN src/content/docs/guides/getting-started.mdx Localization changed, will be marked as complete.
zh-CN src/content/docs/index.mdx Localization changed, will be marked as complete. 🔄️
zh-CN src/content/docs/internals/language-support.mdx Localization changed, will be marked as complete.
Warnings reference
Icon Description
🔄️ The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

ematipico and others added 18 commits May 8, 2026 11:29
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Yan <61414485+yanthomasdev@users.noreply.github.com>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Dushyant Acharya <dushyantacharya873@gmail.com>
Co-authored-by: Denis Bezrukov <6227442+denbezrukov@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Maikel van Dort <11695769+Netail@users.noreply.github.com>
Co-authored-by: Yan <61414485+yanthomasdev@users.noreply.github.com>
@ematipico ematipico marked this pull request as ready for review June 9, 2026 15:44
@ematipico ematipico requested a review from a team as a code owner June 9, 2026 15:44
@coderabbitai

coderabbitai Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 42b4876e-661d-4fbc-bb7c-af18082b28ca

📥 Commits

Reviewing files that changed from the base of the PR and between 23703b0 and 914702b.

⛔ Files ignored due to path filters (3)
  • Cargo.lock is excluded by !**/*.lock
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
  • src/playground/generated/lintRules.ts is excluded by !**/generated/**
📒 Files selected for processing (3)
  • Cargo.toml
  • package.json
  • src/content/docs/linter/rules/no-excessive-lines-per-file.mdx
✅ Files skipped from review due to trivial changes (2)
  • Cargo.toml
  • src/content/docs/linter/rules/no-excessive-lines-per-file.mdx

Walkthrough

This PR adds an LSP docs generator (codegen::lsp + CLI + npm script) and writes generated custom-methods into src/content/docs/reference/daemon.md; it introduces a Biome Language Server docs page and per-editor go-to-definition settings, moves editor guide routes to /editors/ across locales, expands configuration and plugin docs (presets, delimiterSpacing, includes, fix_kind), regenerates linter rule indexes and nursery docs, updates language-support tables across locales, aligns the playground to LINT_RULES.preset, and publishes the v2.5 blog and related UI/sidebar updates.

Possibly related PRs

  • biomejs/website#4197: LSP codegen wiring and daemon.md regeneration overlapping with this PR’s generate_lsp_docs work.
  • biomejs/website#4296: Overlaps on the Biome v2.5 release blog post and related release documentation.
  • biomejs/website#4303: Related codegen internals and schema/$ref handling refactors that intersect with resolve_ts_type changes.

Suggested labels

Merge on release

Suggested reviewers

  • yanthomasdev
  • chansuke
🚥 Pre-merge checks | ✅ 2 | ❌ 2

❌ Failed checks (2 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title 'chore: v2.5' is vague and does not clearly convey the main changes in the pull request, which encompasses numerous documentation updates, new features (LSP daemon, plugin fixes, new lint rules), and configuration changes across the website and codebase. Consider a more descriptive title like 'docs: add Biome v2.5 release documentation and updates' or 'chore: release Biome v2.5 with LSP docs, config, and website updates' to better communicate the scope.
Description check ❓ Inconclusive The description only includes merge instructions and does not explain what the pull request actually accomplishes or why these changes are being made. Add a summary of the key changes: v2.5 release documentation, new LSP documentation, updated configuration references, language support matrix updates, and link redirects across multiple locales.
✅ Passed checks (2 passed)
Check name Status Explanation
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch next

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 4

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (2)
src/content/docs/fr/internals/language-support.mdx (1)

43-43: ⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Update the French TypeScript version to match source docs.

Line 43 still references TypeScript 5.6 while the canonical page now states 5.9. Keeping them aligned avoids contradictory docs.

🤖 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/content/docs/fr/internals/language-support.mdx` at line 43, Update the
French docs line that currently reads "Biome prend en charge la version 5.6 de
TypeScript." to reference TypeScript 5.9 so it matches the canonical page;
locate that exact string in src/content/docs/fr/internals/language-support.mdx
and replace "5.6" with "5.9".
src/content/docs/es/internals/language-support.mdx (1)

44-44: ⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Align the TypeScript version with the canonical docs.

Line 44 still says 5.6, but the main language-support page in this PR documents TypeScript 5.9. Please update the Spanish page to avoid stale guidance.

🤖 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/content/docs/es/internals/language-support.mdx` at line 44, Update the
Spanish sentence "Biome es compatible con TypeScript versión 5.6." to state the
correct TypeScript version 5.9 to match the canonical language-support
documentation (replace "5.6" with "5.9" in the sentence found in
src/content/docs/es/internals/language-support.mdx).
♻️ Duplicate comments (4)
src/content/docs/pt-BR/index.mdx (1)

53-53: ⚠️ Potential issue | 🟠 Major | ⚡ Quick win

Missing locale prefix in editor links.

Same issue as in the getting-started file—these links lack the /pt-br/ prefix and will redirect to English.

Also applies to: 171-171

🤖 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/content/docs/pt-BR/index.mdx` at line 53, Update internal editor links in
the PT-BR doc so they include the locale prefix; replace occurrences like the
link target "/editors/first-party-extensions/" (e.g., the "[editor
favorito](/editors/first-party-extensions/)" anchor and the other occurrence
around line 171) with the localized path
"/pt-br/editors/first-party-extensions/" (use the same "pt-br" casing
consistently) so the links point to the Portuguese pages rather than redirecting
to English.
src/content/docs/ru/index.mdx (1)

60-60: ⚠️ Potential issue | 🟠 Major | ⚡ Quick win

Missing locale prefix in editor links.

Same issue as in the Russian getting-started file—these lack the /ru/ prefix.

Also applies to: 185-185

🤖 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/content/docs/ru/index.mdx` at line 60, Update the internal editor links
in the Russian index so they include the locale prefix; specifically replace
occurrences of the path "/editors/first-party-extensions/" (and any other editor
links in this file, e.g., the duplicate at the other noted occurrence) with
"/ru/editors/first-party-extensions/" so the links point to the
Russian-localized pages.
src/content/docs/ru/guides/getting-started.mdx (1)

164-168: ⚠️ Potential issue | 🟠 Major | ⚡ Quick win

Missing locale prefix in editor links.

These Russian locale links lack the /ru/ prefix. Polish and Chinese files correctly include their locale prefixes, but pt-BR, ru, and uk files don't—this inconsistency will break i18n navigation.

🤖 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/content/docs/ru/guides/getting-started.mdx` around lines 164 - 168, The
three editor links "[VS Code](/editors/first-party-extensions#vs-code)",
"[IntelliJ](/editors/first-party-extensions#intellij)",
"[Zed](/editors/first-party-extensions#zed)" and the community link "[дополнения
от сообщества](/editors/third-party-extensions)" in
src/content/docs/ru/guides/getting-started.mdx are missing the Russian locale
prefix; update each target URL to include the /ru/ prefix (e.g. change
/editors/... to /ru/editors/...) so the links point to the localized pages.
Ensure you update all four links consistently and verify the anchors (`#vs-code`,
`#intellij`, `#zed`) remain intact.
src/content/docs/uk/index.mdx (1)

56-56: ⚠️ Potential issue | 🟠 Major | ⚡ Quick win

Missing locale prefix in editor links.

Ukrainian locale links also lack the /uk/ prefix, continuing the pattern seen in pt-BR and ru files.

Also applies to: 175-175

🤖 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/content/docs/uk/index.mdx` at line 56, The Ukrainian docs contain editor
links missing the locale prefix (e.g. "/editors/first-party-extensions/");
update those links to include the "/uk/" prefix (e.g.
"/uk/editors/first-party-extensions/") wherever they appear in
src/content/docs/uk/index.mdx so internal navigation uses the Ukrainian locale;
search for the substring "/editors/first-party-extensions/" in that file and
replace each occurrence with "/uk/editors/first-party-extensions/" (and
similarly add "/uk/" to any other editor-related internal links in this file).
🧹 Nitpick comments (1)
src/content/docs/reference/daemon.md (1)

26-699: Refine or justify the generated unknown types in daemon custom-method interfaces
codegen/src/lsp.rs maps JSON-schema nodes to TS via resolve_ts_type, which intentionally falls back to "unknown" when it can’t derive a concrete type (e.g., missing items, unsupported const, or no matching mapping). That aligns with maxDiagnostics?: unknown, suppressionReason?: unknown, and diagnostics: unknown[][] in daemon.md; improve the type resolver/schema mapping for these cases, or explicitly document why they remain opaque.

🤖 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/content/docs/reference/daemon.md` around lines 26 - 699, The generated TS
"unknown" usages (e.g., maxDiagnostics?: unknown, suppressionReason?: unknown,
diagnostics: unknown[][] in daemon.md) come from resolve_ts_type falling back to
"unknown"; update codegen/src/lsp.rs::resolve_ts_type to (1) detect and map
array schemas with defined "items" to concrete TS arrays (including nested
arrays) instead of returning unknown[][], (2) handle schema forms like
const/enum or missing type by mapping to appropriate unions
(number|string|boolean) or a documented alias (e.g., UnknownSchema) rather than
raw unknown, and (3) for fields like maxDiagnostics and suppressionReason add
explicit schema-to-TS mappings or emit an explanatory comment in the generated
daemon.md if the schema is intentionally opaque; adjust resolve_ts_type and any
helper functions to propagate these changes so the generated interfaces (e.g.,
PullDiagnosticsParams.maxDiagnostics, PullActionsParams.suppressionReason,
PullDiagnosticsAndActionsResult.diagnostics) use the improved, justified types
or include a short docstring explaining why "unknown" remains.
🤖 Prompt for all review comments with 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.

Inline comments:
In `@src/content/docs/linter/plugins.mdx`:
- Line 73: Fix the typo in the description of the includes option: replace
"retrict files and folder" with "restrict files and folders" in the sentence
that reads "However, you can use the `includes` option to retrict files and
folder of where the plugin can or can't run." Ensure the sentence reads:
"However, you can use the `includes` option to restrict files and folders where
the plugin can or can't run." Target the sentence mentioning the `includes`
option in the plugins documentation.

In `@src/content/docs/pt-BR/internals/language-support.mdx`:
- Line 32: Update the footnote link that currently reads "[ativação
explícita](/reference/configuration/#html)" to include the locale prefix for
Brazilian Portuguese so it becomes "[ativação
explícita](/pt-BR/reference/configuration/#html)"; locate the string in the
section containing "** atualmente requer [ativação
explícita](/reference/configuration/#html)**" and adjust only the URL portion to
prepend "/pt-BR/".

In `@src/content/docs/reference/configuration.mdx`:
- Around line 385-390: The docs for the linter.rules.preset option contain a
typo: change the phrase "expect for nursery rules" to "except for nursery rules"
in the `linter.rules.preset` section so the bullet for `"all"` reads that it
"enables all lint rules, except for nursery rules"; update the text near the
`linter.rules.preset` heading to correct this phrasing.
- Around line 381-383: Fix the grammatical error in the deprecation caution
block by changing the phrase "This options is deprecated" to "This option is
deprecated" in the MDX deprecation callout (the :::caution block that references
linter.rules.preset); update only that sentence so the wording is singular and
leave the rest of the link and punctuation intact.

---

Outside diff comments:
In `@src/content/docs/es/internals/language-support.mdx`:
- Line 44: Update the Spanish sentence "Biome es compatible con TypeScript
versión 5.6." to state the correct TypeScript version 5.9 to match the canonical
language-support documentation (replace "5.6" with "5.9" in the sentence found
in src/content/docs/es/internals/language-support.mdx).

In `@src/content/docs/fr/internals/language-support.mdx`:
- Line 43: Update the French docs line that currently reads "Biome prend en
charge la version 5.6 de TypeScript." to reference TypeScript 5.9 so it matches
the canonical page; locate that exact string in
src/content/docs/fr/internals/language-support.mdx and replace "5.6" with "5.9".

---

Duplicate comments:
In `@src/content/docs/pt-BR/index.mdx`:
- Line 53: Update internal editor links in the PT-BR doc so they include the
locale prefix; replace occurrences like the link target
"/editors/first-party-extensions/" (e.g., the "[editor
favorito](/editors/first-party-extensions/)" anchor and the other occurrence
around line 171) with the localized path
"/pt-br/editors/first-party-extensions/" (use the same "pt-br" casing
consistently) so the links point to the Portuguese pages rather than redirecting
to English.

In `@src/content/docs/ru/guides/getting-started.mdx`:
- Around line 164-168: The three editor links "[VS
Code](/editors/first-party-extensions#vs-code)",
"[IntelliJ](/editors/first-party-extensions#intellij)",
"[Zed](/editors/first-party-extensions#zed)" and the community link "[дополнения
от сообщества](/editors/third-party-extensions)" in
src/content/docs/ru/guides/getting-started.mdx are missing the Russian locale
prefix; update each target URL to include the /ru/ prefix (e.g. change
/editors/... to /ru/editors/...) so the links point to the localized pages.
Ensure you update all four links consistently and verify the anchors (`#vs-code`,
`#intellij`, `#zed`) remain intact.

In `@src/content/docs/ru/index.mdx`:
- Line 60: Update the internal editor links in the Russian index so they include
the locale prefix; specifically replace occurrences of the path
"/editors/first-party-extensions/" (and any other editor links in this file,
e.g., the duplicate at the other noted occurrence) with
"/ru/editors/first-party-extensions/" so the links point to the
Russian-localized pages.

In `@src/content/docs/uk/index.mdx`:
- Line 56: The Ukrainian docs contain editor links missing the locale prefix
(e.g. "/editors/first-party-extensions/"); update those links to include the
"/uk/" prefix (e.g. "/uk/editors/first-party-extensions/") wherever they appear
in src/content/docs/uk/index.mdx so internal navigation uses the Ukrainian
locale; search for the substring "/editors/first-party-extensions/" in that file
and replace each occurrence with "/uk/editors/first-party-extensions/" (and
similarly add "/uk/" to any other editor-related internal links in this file).

---

Nitpick comments:
In `@src/content/docs/reference/daemon.md`:
- Around line 26-699: The generated TS "unknown" usages (e.g., maxDiagnostics?:
unknown, suppressionReason?: unknown, diagnostics: unknown[][] in daemon.md)
come from resolve_ts_type falling back to "unknown"; update
codegen/src/lsp.rs::resolve_ts_type to (1) detect and map array schemas with
defined "items" to concrete TS arrays (including nested arrays) instead of
returning unknown[][], (2) handle schema forms like const/enum or missing type
by mapping to appropriate unions (number|string|boolean) or a documented alias
(e.g., UnknownSchema) rather than raw unknown, and (3) for fields like
maxDiagnostics and suppressionReason add explicit schema-to-TS mappings or emit
an explanatory comment in the generated daemon.md if the schema is intentionally
opaque; adjust resolve_ts_type and any helper functions to propagate these
changes so the generated interfaces (e.g., PullDiagnosticsParams.maxDiagnostics,
PullActionsParams.suppressionReason,
PullDiagnosticsAndActionsResult.diagnostics) use the improved, justified types
or include a short docstring explaining why "unknown" remains.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 588c7b94-d9c6-40a0-ba20-a22b55f86d2f

📥 Commits

Reviewing files that changed from the base of the PR and between ba7038a and 5e3c0ad.

⛔ Files ignored due to path filters (5)
  • Cargo.lock is excluded by !**/*.lock
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
  • src/assets/blog/biome-v2-5/500-dark.png is excluded by !**/*.png
  • src/assets/blog/biome-v2-5/500-light.png is excluded by !**/*.png
  • src/playground/generated/lintRules.ts is excluded by !**/generated/**
📒 Files selected for processing (69)
  • Cargo.toml
  • astro.config.ts
  • codegen/src/lib.rs
  • codegen/src/lintdoc.rs
  • codegen/src/lsp.rs
  • codegen/src/main.rs
  • codegen/src/metadata.rs
  • codegen/src/rules_sources.rs
  • package.json
  • src/content/docs/blog/biome-v2-5.mdx
  • src/content/docs/editors/first-party-extensions.mdx
  • src/content/docs/editors/introduction.mdx
  • src/content/docs/editors/third-party-extensions.mdx
  • src/content/docs/es/editors/create-an-extension.mdx
  • src/content/docs/es/editors/first-party-extensions.mdx
  • src/content/docs/es/editors/third-party-extensions.mdx
  • src/content/docs/es/guides/getting-started.mdx
  • src/content/docs/es/index.mdx
  • src/content/docs/es/internals/language-support.mdx
  • src/content/docs/formatter/index.mdx
  • src/content/docs/fr/editors/create-an-extension.mdx
  • src/content/docs/fr/editors/first-party-extensions.mdx
  • src/content/docs/fr/editors/third-party-extensions.mdx
  • src/content/docs/fr/guides/getting-started.mdx
  • src/content/docs/fr/index.mdx
  • src/content/docs/fr/internals/language-support.mdx
  • src/content/docs/guides/editors/create-an-extension.mdx
  • src/content/docs/guides/getting-started.mdx
  • src/content/docs/guides/integrate-in-vcs.mdx
  • src/content/docs/guides/manual-installation.mdx
  • src/content/docs/index.mdx
  • src/content/docs/internals/language-support.mdx
  • src/content/docs/ja/editors/create-an-extension.mdx
  • src/content/docs/ja/editors/first-party-extensions.mdx
  • src/content/docs/ja/editors/third-party-extensions.mdx
  • src/content/docs/ja/guides/getting-started.mdx
  • src/content/docs/ja/index.mdx
  • src/content/docs/ja/internals/language-support.mdx
  • src/content/docs/linter/css/rules.mdx
  • src/content/docs/linter/html/rules.mdx
  • src/content/docs/linter/javascript/rules.mdx
  • src/content/docs/linter/plugins.mdx
  • src/content/docs/linter/rules/no-excessive-lines-per-file.mdx
  • src/content/docs/pl/editors/create-an-extension.mdx
  • src/content/docs/pl/editors/first-party-extensions.mdx
  • src/content/docs/pl/editors/third-party-extensions.mdx
  • src/content/docs/pl/guides/getting-started.mdx
  • src/content/docs/pl/index.mdx
  • src/content/docs/pl/internals/language-support.mdx
  • src/content/docs/pt-BR/guides/getting-started.mdx
  • src/content/docs/pt-BR/index.mdx
  • src/content/docs/pt-BR/internals/language-support.mdx
  • src/content/docs/reference/configuration.mdx
  • src/content/docs/reference/daemon.md
  • src/content/docs/reference/gritql.mdx
  • src/content/docs/reference/reporters.mdx
  • src/content/docs/reference/vscode.mdx
  • src/content/docs/reference/zed.mdx
  • src/content/docs/ru/guides/getting-started.mdx
  • src/content/docs/ru/index.mdx
  • src/content/docs/uk/index.mdx
  • src/content/docs/zh-CN/editors/create-an-extension.mdx
  • src/content/docs/zh-CN/editors/first-party-extensions.mdx
  • src/content/docs/zh-CN/editors/third-party-extensions.mdx
  • src/content/docs/zh-CN/guides/getting-started.mdx
  • src/content/docs/zh-CN/index.mdx
  • src/content/docs/zh-CN/internals/language-support.mdx
  • src/playground/types.ts
  • src/playground/workers/biomeWorker.ts
💤 Files with no reviewable changes (1)
  • src/content/docs/guides/editors/create-an-extension.mdx

Comment thread src/content/docs/linter/plugins.mdx Outdated
Comment thread src/content/docs/pt-BR/internals/language-support.mdx
Comment on lines +381 to +383
:::caution
This options is deprecated. Use [`linter.rules.preset`](/reference/configuration#lintrulespreset) instead.
:::

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Grammatical error in deprecation notice.

Line 382 states "This options is deprecated" — should be "This option is deprecated".

📝 Suggested fix
 :::caution
-This options is deprecated. Use [`linter.rules.preset`](/reference/configuration#lintrulespreset) instead.
+This option is deprecated. Use [`linter.rules.preset`](/reference/configuration#lintrulespreset) instead.
 :::
🤖 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/content/docs/reference/configuration.mdx` around lines 381 - 383, Fix the
grammatical error in the deprecation caution block by changing the phrase "This
options is deprecated" to "This option is deprecated" in the MDX deprecation
callout (the :::caution block that references linter.rules.preset); update only
that sentence so the wording is singular and leave the rest of the link and
punctuation intact.

Comment thread src/content/docs/reference/configuration.mdx
ematipico and others added 3 commits June 12, 2026 06:11
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
@ematipico ematipico enabled auto-merge June 12, 2026 12:43
@ematipico ematipico disabled auto-merge June 12, 2026 12:45
@ematipico ematipico merged commit ee25002 into main Jun 12, 2026
10 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants