chore(deps): upgrade Rslint to v0.8.0 - #252
Open
chenjiahan wants to merge 1 commit into
Open
Conversation
There was a problem hiding this comment.
Pull request overview
Upgrades the repo’s linting toolchain to Rslint v0.8.0 and adjusts configuration/source to preserve existing recommended-rule coverage while addressing newly surfaced diagnostics.
Changes:
- Bump
@rslint/coreto^0.8.0and updatepnpm-lock.yamlaccordingly. - Expand
rslint.config.tsto include JS recommended rules and add targeted overrides fortests/**andexample/**. - Minor TypeScript changes to align with updated lint expectations (e.g.,
Errorcause propagation; ESC handler refactor).
Reviewed changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/server.ts | Adds Error { cause } metadata when rethrowing missing optional dependency errors. |
| rslint.config.ts | Includes js.configs.recommended and adds per-folder rule overrides for tests/examples. |
| pnpm-lock.yaml | Refreshes lockfile for @rslint/core@0.8.0 and related dependency updates. |
| package.json | Updates @rslint/core dependency range to ^0.8.0. |
| client-src/overlay.ts | Refactors ESC key handler into a function declaration to satisfy linting/usage order. |
Files not reviewed (1)
- pnpm-lock.yaml: Generated file
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
@rslint/coreto v0.8.0 and refresh the lockfile where applicable.Related Links