chore: migrate to Rstack CLI - #99
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 507c5f50a7
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| '*.{json,md,mdx,css,scss,less,html,yml,yaml}': 'rs fmt', | ||
| }); | ||
|
|
||
| define.lint(({ js, ts }) => [js.configs.recommended, ts.configs.recommended]); |
There was a problem hiding this comment.
Restore browser globals in the lint configuration
When pnpm lint scans the existing playground, or when playground/src/index.js is staged, this replacement drops the previous globals.browser override while retaining the recommended JavaScript rules. As a result, the valid document reference on playground/src/index.js:3 is reported as undefined, causing both the lint script and rs staged pre-commit hook to fail; preserve a browser-globals override for playground/src/**/*.
Useful? React with 👍 / 👎.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Summary
This PR migrates the repository's build, test, lint, formatting, and Git-hook workflows to Rstack CLI so they share a single versioned configuration. It also updates the playground and VS Code integration, installs the repository-local Rstack docs skill, and runs staged lint and formatting tasks through
rs staged.Related Links