docs: update language support page - #4405
Conversation
✅ Deploy Preview for biomejs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Lunaria Status Overview🌕 This pull request will trigger status changes. Learn moreBy default, every PR changing files present in the Lunaria configuration's You can change this by adding one of the keywords present in the Tracked Files
Warnings reference
|
fa0e745 to
6a1e5f9
Compare
6a1e5f9 to
e09f528
Compare
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
WalkthroughThe language support documentation updates capability statuses for HTML*, SVG, Vue, Svelte, and Astro. The HTML super-language guidance now documents improved Svelte syntax handling, lint-rule behaviour changes, and the configuration required for full support and formatting. The “Formatting with different settings” section is promoted to a top-level subsection. Possibly related PRs
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 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/internals/language-support.mdx`:
- Line 82: Update the prose in the language support documentation to hyphenate
“language-specific syntax,” without changing the surrounding wording or meaning.
- Line 20: Update the HTML row in the language-support matrix so its formatting
status is Experimental, matching the HTML section’s configuration guidance that
requires explicit enablement; leave the other support statuses unchanged.
🪄 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: bb811720-b398-4910-8093-7f15066ead5a
📒 Files selected for processing (1)
src/content/docs/internals/language-support.mdx
| | [Svelte](#html-super-languages-support) | <span aria-label="Experimental" role="img">🟡</span> | <span aria-label="Experimental" role="img">🟡</span> | <span aria-label="Experimental" role="img">🟡</span> | <span aria-label="Experimental" role="img">🟡</span> | | ||
| | [Astro](#html-super-languages-support) | <span aria-label="Experimental" role="img">🟡</span> | <span aria-label="Experimental" role="img">🟡</span> | <span aria-label="Experimental" role="img">🟡</span> | <span aria-label="Experimental" role="img">🟡</span> | | ||
| | JSONC | <span aria-label="Supported" role="img">✅</span> | <span aria-label="Supported" role="img">✅</span> | <span aria-label="Supported" role="img">✅</span> | <span aria-label="Supported" role="img">✅</span> | | ||
| | HTML* | <span aria-label="Supported" role="img">✅</span> | <span aria-label="Experimental" role="img">🟡</span> | <span aria-label="Supported" role="img">✅</span> | <span aria-label="Not in Progress" role="img">🚫</span> | |
There was a problem hiding this comment.
🎯 Functional Correctness | 🟠 Major | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
sed -n '1,140p' src/content/docs/internals/language-support.mdx | cat -nRepository: biomejs/website
Length of output: 11857
🏁 Script executed:
nl -ba src/content/docs/internals/language-support.mdx | sed -n '1,120p'Repository: biomejs/website
Length of output: 189
🏁 Script executed:
rg -n "experimental|formatter|HTML\\*" src/content/docs/internals/language-support.mdxRepository: biomejs/website
Length of output: 2324
Make the HTML formatting status consistent. The matrix shows HTML formatting as Supported, but the HTML section says the formatter is still experimental and must be enabled explicitly. Align the table with the config 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/internals/language-support.mdx` at line 20, Update the HTML
row in the language-support matrix so its formatting status is Experimental,
matching the HTML section’s configuration guidance that requires explicit
enablement; leave the other support statuses unchanged.
Co-authored-by: Yan <61414485+yanthomasdev@users.noreply.github.com>
Summary
Some corrections to the status of HTML + super languages.