René's URL Explorer Experiment


Title: feat(lint): self-documenting diagnostics — suppression-comment hover, clickable rule docs, diagnostic tags · Issue #27 · rstackjs/rstack-editor · GitHub

Open Graph Title: feat(lint): self-documenting diagnostics — suppression-comment hover, clickable rule docs, diagnostic tags · Issue #27 · rstackjs/rstack-editor

X Title: feat(lint): self-documenting diagnostics — suppression-comment hover, clickable rule docs, diagnostic tags · Issue #27 · rstackjs/rstack-editor

Description: Summary Make Rslint diagnostics self-documenting in the editor. Three capabilities, ordered by how much of the work lives in this repo: Suppression-comment hover — hovering a rule id inside // rslint-disable-next-line no-floating-promise...

Open Graph Description: Summary Make Rslint diagnostics self-documenting in the editor. Three capabilities, ordered by how much of the work lives in this repo: Suppression-comment hover — hovering a rule id inside // rsli...

X Description: Summary Make Rslint diagnostics self-documenting in the editor. Three capabilities, ordered by how much of the work lives in this repo: Suppression-comment hover — hovering a rule id inside // rsli...

Opengraph URL: https://github.com/rstackjs/rstack-editor/issues/27

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"feat(lint): self-documenting diagnostics — suppression-comment hover, clickable rule docs, diagnostic tags","articleBody":"## Summary\n\nMake Rslint diagnostics self-documenting in the editor. Three capabilities, ordered by how much of the work lives in this repo:\n\n1. **Suppression-comment hover** — hovering a rule id inside `// rslint-disable-next-line no-floating-promises` shows that rule's documentation (description + link to rstack.rs). This answers \"why is this line suppressed?\" directly at the comment. Neither the ESLint nor the Biome extension offers this; Ruff proves the pattern (`ruff server` answers `textDocument/hover` over `noqa` codes).\n2. **Clickable rule ids in the Problems panel** — populate `Diagnostic.codeDescription.href` (LSP 3.16) from the rule's docs URL, so the rule id in the Problems panel links straight to the rule's page. `dbaeumer.vscode-eslint` does exactly this from `meta.docs.url`.\n3. **Diagnostic tags for dead code** — emit `DiagnosticTag.Unnecessary` for unused-variable style rules (rendered faded) and `DiagnosticTag.Deprecated` for deprecated-API rules (rendered struck-through), so squiggles stay reserved for real errors. Also proven by `vscode-eslint`.\n\n## Where the work lives\n\n| Piece | Repo | Effort |\n| --- | --- | --- |\n| Hover over disable-comment rule ids (`languages.registerHoverProvider`, derive docs URL from rule id) | this repo, client-side | 2–3 days |\n| `codeDescription.href` + `DiagnosticTag` on published diagnostics | Rslint upstream (Go LSP) | ~1 day |\n\nThe client-side hover can ship independently of the upstream half.\n\n## Constraints\n\n- `stacks/lint` is a deliberate near-verbatim copy of the upstream extension with exactly seven documented adaptations (`packages/vscode/AGENTS.md`). A client-side hover provider is new behavior, not a divergence inside the copied files — implement it as a separate module registered by the stack, and if it must touch copied files, record it as an eighth adaptation in AGENTS.md.\n- Docs URL derivation should not hardcode a URL scheme per rule; derive from one base URL + rule id, and degrade gracefully (no hover entry) for rules without docs.\n- The upstream half needs an issue/PR on web-infra-dev/rslint; link it here once filed.\n\n## References\n\n- Ruff hover over suppression codes: https://docs.astral.sh/ruff/editors/features/\n- vscode-eslint `codeDescription` / `DiagnosticTag` usage: https://github.com/microsoft/vscode-eslint\n- LSP `codeDescription`: https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#diagnostic\n","author":{"url":"https://github.com/fi3ework","@type":"Person","name":"fi3ework"},"datePublished":"2026-08-20T08:55:12Z","url":"https://github.com/rstackjs/rstack-editor/issues/27"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:474b49a9-4533-1d35-31d9-6642e86d503c
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE47A:27960B:8579B4:B357CF:6AEC3BCF
html-safe-nonceaa6cbf2f98ad3f1a98451738bbd4e8192a4fd3f7935f3f13fe950b0b8ed736e7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNDdBOjI3OTYwQjo4NTc5QjQ6QjM1N0NGOjZBRUMzQkNGIiwidmlzaXRvcl9pZCI6IjgzOTM0NDk1MTk4MjMwODMwMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacd35150a76b66b58042de8a745b0f1f4e1eccf21b9925cfa138065af2b0ead4d4
hovercard-subject-tagissue:5201571024
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/rstackjs/rstack-editor/27/issue_layout
twitter:imagehttps://opengraph.githubassets.com/1b35664aeaaa2b9e6275a00e11c15ba7bea1ebc79712f33a414efa5383152ebc/rstackjs/rstack-editor/issues/27
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1b35664aeaaa2b9e6275a00e11c15ba7bea1ebc79712f33a414efa5383152ebc/rstackjs/rstack-editor/issues/27
og:image:altSummary Make Rslint diagnostics self-documenting in the editor. Three capabilities, ordered by how much of the work lives in this repo: Suppression-comment hover — hovering a rule id inside // rsli...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamefi3ework
hostnamegithub.com
expected-hostnamegithub.com
None1dcf8db8e9101b96aecb2bc4e1fd095c110db63a7a140d8a7a9de997e07663e3
turbo-cache-controlno-preview
go-importgithub.com/rstackjs/rstack-editor git https://github.com/rstackjs/rstack-editor.git
octolytics-dimension-user_id129049372
octolytics-dimension-user_loginrstackjs
octolytics-dimension-repository_id1316963958
octolytics-dimension-repository_nworstackjs/rstack-editor
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1316963958
octolytics-dimension-repository_network_root_nworstackjs/rstack-editor
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasec248a9ae2572141cd7b35bf30a770cdc842dbc35
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/rstackjs/rstack-editor/issues/27#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Frstackjs%2Frstack-editor%2Fissues%2F27
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Frstackjs%2Frstack-editor%2Fissues%2F27
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=rstackjs%2Frstack-editor
Reloadhttps://github.com/rstackjs/rstack-editor/issues/27
Reloadhttps://github.com/rstackjs/rstack-editor/issues/27
Reloadhttps://github.com/rstackjs/rstack-editor/issues/27
rstackjshttps://github.com/rstackjs
rstack-editorhttps://github.com/rstackjs/rstack-editor
Codehttps://github.com/rstackjs/rstack-editor
Issues4 (4)https://github.com/rstackjs/rstack-editor/issues
Pull requests1 (1)https://github.com/rstackjs/rstack-editor/pulls
Actionshttps://github.com/rstackjs/rstack-editor/actions
Projectshttps://github.com/rstackjs/rstack-editor/projects
Security and qualityhttps://github.com/rstackjs/rstack-editor/security
Insightshttps://github.com/rstackjs/rstack-editor/pulse
https://github.com/rstackjs/rstack-editor
New issuehttps://github.com/login?return_to=https://github.com/rstackjs/rstack-editor/issues/27
New issuehttps://github.com/login?return_to=https://github.com/rstackjs/rstack-editor/issues/27
feat(lint): self-documenting diagnostics — suppression-comment hover, clickable rule docs, diagnostic tagshttps://github.com/rstackjs/rstack-editor/issues/27#top
https://github.com/fi3ework
fi3eworkhttps://github.com/fi3ework
on Aug 20, 2026https://github.com/rstackjs/rstack-editor/issues/27#issue-5201571024
https://docs.astral.sh/ruff/editors/features/https://docs.astral.sh/ruff/editors/features/
https://github.com/microsoft/vscode-eslinthttps://github.com/microsoft/vscode-eslint
https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#diagnostichttps://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#diagnostic
https://github.com/fi3ework
fi3eworkhttps://github.com/fi3ework
on Aug 20, 2026https://github.com/rstackjs/rstack-editor/issues/27#issuecomment-5355180255
fi3eworkhttps://github.com/fi3ework
on Aug 21, 2026https://github.com/rstackjs/rstack-editor/issues/27#event-29786262599
feat(lint): self-documenting Rslint diagnostics — hover, clickable ru…https://github.com/rstackjs/rstack-editor/commit/0be56449fb24da7dbf456cec2714661e70c9be90
0be5644https://github.com/rstackjs/rstack-editor/commit/0be56449fb24da7dbf456cec2714661e70c9be90
fi3eworkhttps://github.com/fi3ework
completedhttps://github.com/rstackjs/rstack-editor/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Aug 21, 2026https://github.com/rstackjs/rstack-editor/issues/27#event-29786281135
Sign up for freehttps://github.com/signup?return_to=https://github.com/rstackjs/rstack-editor/issues/27
Sign in to commenthttps://github.com/login?return_to=https://github.com/rstackjs/rstack-editor/issues/27
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.