docs(orgnizeImports): revamp user-facing docs#9987
Conversation
|
|
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 ignored due to path filters (4)
📒 Files selected for processing (1)
✅ Files skipped from review due to trivial changes (1)
WalkthroughThis PR updates the inline documentation for the Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 2✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 the current code and only fix it if needed.
Inline comments:
In `@crates/biome_js_analyze/src/assist/source/organize_imports.rs`:
- Around line 171-173: Fix the two typos in the type-only matcher documentation
in organize_imports.rs: change "an type-only matcher" to "a type-only matcher"
and remove the stray closing bracket after the sentence describing `"type":
false` so the line ends without `]`; update the comment block that references
the `"type": true` and `"type": false` examples accordingly.
- Around line 398-399: Update the documentation links in the organize_imports.rs
comment so they point to the stable biomejs.dev domain instead of
next.biomejs.dev: replace the two URLs referencing
"https://next.biomejs.dev/linter/rules/use-import-type/" and
"https://next.biomejs.dev/linter/rules/use-import-type/#style" with their stable
equivalents on "https://biomejs.dev/..." in the comment that mentions
`useImportType` and its `style` (the doc comment block in organize_imports.rs).
🪄 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: 6317579c-fc0e-4cc7-a241-3116f7037863
📒 Files selected for processing (1)
crates/biome_js_analyze/src/assist/source/organize_imports.rs
Merging this PR will not alter performance
Comparing Footnotes
|
Summary
This PR performs the same change as #9887 (comment) tailored for the main branch.
The only difference is the removal of all references to the
sortBareImportsoption that was merged onnextand not onmain.Test Plan
CI shall pass :)
Docs
This is the purpose of this PR.