Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughThis pull request extracts workspace-level context and dependency-resolution logic from the VS Code extension into a new Possibly related PRs
🚥 Pre-merge checks | ❌ 1❌ Failed checks (1 inconclusive)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 3
🧹 Nitpick comments (1)
packages/language-core/src/workspace.ts (1)
110-115: Avoid usinganytype.The
CacheOptions<any, [string]>usesanywhich violates the coding guidelines. Consider using a more specific type for the return value.♻️ Suggested fix
- `#cacheOptions`: CacheOptions<any, [string]> = { + `#cacheOptions`: CacheOptions<unknown, [string]> = { getKey: (path) => path, maxAge: 0, swr: false, staleMaxAge: 0, }As per coding guidelines: "Never use
anytype in TypeScript".
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 63d58f83-fded-458e-87b5-2ddf3d91c0a8
📒 Files selected for processing (14)
extensions/vscode/src/composables/workspace-context.tsextensions/vscode/src/core/workspace.tsextensions/vscode/src/providers/definition/catalog.tsextensions/vscode/src/providers/diagnostics/index.tsextensions/vscode/src/providers/diagnostics/rules/engine-mismatch.tsextensions/vscode/src/providers/diagnostics/rules/upgrade.test.tsextensions/vscode/src/providers/diagnostics/rules/upgrade.tsextensions/vscode/src/providers/hover/resolve.test.tsextensions/vscode/src/providers/hover/resolve.tsextensions/vscode/src/utils/version.test.tsextensions/vscode/src/utils/version.tspackages/language-core/package.jsonpackages/language-core/src/workspace.tspackages/language-core/tsdown.config.ts
No description provided.