Skip to content

chore: migrate Rslint to Rstack CLI#8164

Merged
chenjiahan merged 1 commit into
mainfrom
chenjiahan/chore-rstack-cli-lint
Jul 22, 2026
Merged

chore: migrate Rslint to Rstack CLI#8164
chenjiahan merged 1 commit into
mainfrom
chenjiahan/chore-rstack-cli-lint

Conversation

@chenjiahan

Copy link
Copy Markdown
Member

Summary

This PR migrates the repository's Rslint setup to Rstack CLI while keeping Rsbuild, Rslib, Rstest, and Rspress on their existing standalone CLIs and configs.

It replaces the direct @rslint/core dependency with rstack, moves the lint configuration to define.lint, and updates lint commands to use rs lint.

Related Links

@coderabbitai

coderabbitai Bot commented Jul 22, 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: 6bbd6787-75fb-4742-97c4-1167aa9bbb3b

📥 Commits

Reviewing files that changed from the base of the PR and between dd9e690 and 0650203.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (5)
  • e2e/README.md
  • package.json
  • pnpm-workspace.yaml
  • rslint.config.ts
  • rstack.config.ts
💤 Files with no reviewable changes (1)
  • rslint.config.ts

📝 Walkthrough

Walkthrough

Migrates linting from rslint to rstack. A new rstack.config.ts defines lint presets, ignored paths, TypeScript project settings, and rule overrides. The workspace catalog and development dependencies now include rstack, with an installation-age exemption. Project scripts, the nano-staged hook, and E2E type-test documentation use rs lint --type-check.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately summarizes the main change: migrating linting from Rslint to Rstack CLI.
Description check ✅ Passed The description is clearly related and matches the repository-wide Rslint to Rstack CLI migration.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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.
✨ 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.

@chenjiahan
chenjiahan merged commit 12da47d into main Jul 22, 2026
7 checks passed
@chenjiahan
chenjiahan deleted the chenjiahan/chore-rstack-cli-lint branch July 22, 2026 09:01
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