Skip to content

chore(deps): upgrade rslint to 0.6.0 - #7868

Merged
chenjiahan merged 1 commit into
mainfrom
chenjiahan/upgrade-rslint-0-6-0
Jun 11, 2026
Merged

chenjiahan merged 1 commit into
mainfrom
chenjiahan/upgrade-rslint-0-6-0

Conversation

@chenjiahan

Copy link
Copy Markdown
Member

Summary

Upgrade @rslint/core from 0.5.3 to 0.6.0. This release expands the recommended rule set and changes the native package layout, so this PR refreshes the lockfile and updates the small set of code/template spots reported by the new rules.

Related Links

https://github.com/web-infra-dev/rslint/releases/tag/v0.6.0

@coderabbitai

coderabbitai Bot commented Jun 11, 2026 •

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 400cfe50-19b2-4c5c-92bb-cc36de26c05f

📥 Commits

Reviewing files that changed from the base of the PR and between de41c40 and e6b38be.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (5)
  • packages/core/src/server/ansiHTML.ts
  • packages/core/types.d.ts
  • packages/create-rsbuild/template-vue-ts/src/env.d.ts
  • packages/plugin-svgr/src/assetLoader.ts
  • pnpm-workspace.yaml
✅ Files skipped from review due to trivial changes (3)
  • packages/core/src/server/ansiHTML.ts
  • packages/plugin-svgr/src/assetLoader.ts
  • packages/core/types.d.ts
🚧 Files skipped from review as they are similar to previous changes (1)
  • pnpm-workspace.yaml

📝 Walkthrough

Walkthrough

This PR inserts an inline rslint disable before an ANSI-handling regex, changes an ESLint directive for an empty interface, updates the Vue *.vue declaration from DefineComponent<{}, {}, any> to DefineComponent, changes RawLoaderDefinition's generic default from {} to object, and bumps pnpm-workspace.yaml's @rslint/core catalog entry from ^0.5.3 to ^0.6.0.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title directly and clearly describes the main change: upgrading rslint to version 0.6.0.
Description check ✅ Passed The description explains the upgrade purpose and provides context about the changes needed in response to the new rslint version.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 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 `@packages/create-rsbuild/template-vue-ts/src/env.d.ts`:
- Line 6: The Vue component declaration uses DefineComponent<Record<string,
never>, Record<string, never>, any> which weakens slot typing; update the third
generic for the component (the slots type) from any to {} so the declaration
reads DefineComponent<Record<string, never>, Record<string, never>, {}> for
stricter/empty slots typing and better type-safety for the symbol component.
🪄 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: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 4097b5ad-ea94-4264-abc3-facab01b6307

📥 Commits

Reviewing files that changed from the base of the PR and between 123c4d0 and b887041.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (5)
  • packages/core/src/server/ansiHTML.ts
  • packages/core/types.d.ts
  • packages/create-rsbuild/template-vue-ts/src/env.d.ts
  • packages/plugin-svgr/src/assetLoader.ts
  • pnpm-workspace.yaml

Comment thread packages/create-rsbuild/template-vue-ts/src/env.d.ts Outdated
@chenjiahan
chenjiahan force-pushed the chenjiahan/upgrade-rslint-0-6-0 branch from b887041 to de41c40 Compare June 11, 2026 14:36
@chenjiahan
chenjiahan force-pushed the chenjiahan/upgrade-rslint-0-6-0 branch from de41c40 to e6b38be Compare June 11, 2026 14:44
@chenjiahan
chenjiahan merged commit e6e8d7b into main Jun 11, 2026
7 checks passed
@chenjiahan
chenjiahan deleted the chenjiahan/upgrade-rslint-0-6-0 branch June 11, 2026 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant