You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
chore: upgrade Vite+ to tsrs type-aware linting - #3366
Upgrade Vite+ to 1.7.0 and use its bundled tsrs backend; remove the standalone tsgolint dependency and update release-age exemptions.
Configure VS Code to use the workspace Oxc config and native TypeScript language service.
Share the initialized block-spec mapped type and explicitly type the schema initializer to resolve newer compiler inference errors without weakening the public types.
Preserve existing lint rules. Builds and editor language features continue using TypeScript 7.0.2; tsrs is used for type-aware linting only.
Validation
Full type-aware lint/type check: 0 errors, 10 existing warnings.
Frozen-lockfile install and formatting checks pass.
Earlier local benchmarks showed approximately 49% lower lint wall time and 38% lower peak RSS; these compare toolchain/compiler versions, not an isolated Rust-versus-Go backend change.
No full build or Docker browser suite was run for this PR.
Summary by CodeRabbit
Chores
Updated recommended editor extensions and TypeScript settings to support the current development toolchain.
Refreshed development tooling versions and adjusted related workspace configuration.
Review was skipped as selected files did not have any reviewable changes.
Files ignored due to path filters: 1
pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
Run configuration
Source mode: Auto
Repository: Unavailable
Branch: Unavailable
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Organization UI
Review profile: CHILL
Plan: Advanced
Run ID: e9a1750d-8797-4ca6-8816-8c11a44b488b
Commits
Reviewing files that changed from the base of the PR and between c20dc05 and c20dc05.
Files ignored due to path filters: 1
pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Use the checkbox below for a quick retry:
Trigger review
No actionable comments were generated in the recent review.
Walkthrough
The changes update VS Code recommendations and settings, revise workspace tooling configuration, and use a named mapped type for initialized block specifications in CustomBlockNoteSchema.
Changes: Editor and workspace tooling
Layer / File(s)
Summary
Editor and workspace tooling configuration .vscode/extensions.json, .vscode/settings.json, package.json, pnpm-workspace.yaml
VS Code recommendations add TypeScriptTeam.native-preview. Settings configure Oxc and experimental Tsgo. The workspace updates the vite-plus version range and release-age exclusions, and removes oxlint-tsgolint from root development dependencies.
CustomBlockNoteSchema uses InitializedBlockSpecs<BSchema> for its blockSpecs property, the init() return type, and the constructed object cast. The initialization behavior is unchanged.
This change upgrades the lint tooling, adjusts editor settings, and refactors a type declaration in the block schema without changing runtime behavior. No merge-blocking risk was found. Editor-side type-aware diagnostics are the only unverified area.
Pre-merge checks: 3 · 1
Failed checks: 1 inconclusive
Check name
Status
Explanation
Resolution
Description check
The description follows the template structure in part. It has a Summary, Validation, and a note about testing. It lacks the Rationale, Impact, Changes, Screenshots/Video, Checklist, and Additional No…
Add the missing template sections: Rationale (why upgrade to tsrs and change the schema typing), Changes (a file-level list), Impact (effects on existing lint rules and editor behavior), and the Checklist with each item marked. Add Screensh…
Passed checks: 3 passed
Check name
Status
Explanation
Title check
The title names the main change, a Vite+ upgrade to use tsrs for type-aware linting. It follows the conventional-commit style. The changeset also includes VS Code, schema typing, and dependency edits,…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title names the main change, a Vite+ upgrade to use tsrs for type-aware linting. It follows the conventional-commit style. The changeset also includes VS Code, schema typing, and dependency edits, but the title does not need to cover every detail.
Full details: Description check
Explanation
The description follows the template structure in part. It has a Summary, Validation, and a note about testing. It lacks the Rationale, Impact, Changes, Screenshots/Video, Checklist, and Additional Notes sections. The Summary covers the main changes, and the Validation section covers testing. The Rationale is partly implied by the benchmark note but is not stated as a reason for the change.
Resolution
Add the missing template sections: Rationale (why upgrade to tsrs and change the schema typing), Changes (a file-level list), Impact (effects on existing lint rules and editor behavior), and the Checklist with each item marked. Add Screenshots/Video or state that they do not apply. Add Additional Notes if relevant. Keep the existing Summary and Validation content.
Finishing Touches
Generate unit tests (beta)
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
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.
A rabbit checks the editor pane, New settings settle into place. A mapped type names each block spec, While workspace versions shift their base. I nibble greens and hop away, The schema keeps its shape today.
Recent review info
Run configuration
Source mode: Auto
Repository: Unavailable
Branch: Unavailable
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Organization UI
Review profile: CHILL
Plan: Advanced
Run ID: 037005ad-0e52-4e79-99cd-3ee1e6696c84
Commits
Reviewing files that changed from the base of the PR and between 0f26215 and c20dc05.
Files ignored due to path filters: 1
pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
Files selected for processing: 5
.vscode/extensions.json
.vscode/settings.json
package.json
packages/core/src/schema/schema.ts
pnpm-workspace.yaml
Files with no reviewable changes: 1
package.json
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Validation
No full build or Docker browser suite was run for this PR.
Summary by CodeRabbit