Skip to content

chore: integrate Rslint for type-aware linting#450

Merged
9aoy merged 1 commit intomainfrom
rslint
Aug 7, 2025
Merged

chore: integrate Rslint for type-aware linting#450
9aoy merged 1 commit intomainfrom
rslint

Conversation

@fi3ework
Copy link
Copy Markdown
Member

@fi3ework fi3ework commented Aug 6, 2025

Summary

Rslint yes.

Related Links

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

Copilot AI review requested due to automatic review settings August 6, 2025 12:10
@netlify
Copy link
Copy Markdown

netlify bot commented Aug 6, 2025

Deploy Preview for rstest-dev ready!

Name Link
🔨 Latest commit 0efada2
🔍 Latest deploy log https://app.netlify.com/projects/rstest-dev/deploys/6894240ddc30b300088ffb4e
😎 Deploy Preview https://deploy-preview-450--rstest-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR integrates Rslint, a type-aware linting tool, into the project's development workflow. The integration adds a new linter configuration and updates documentation to include Rslint as part of the Rstack toolchain.

Key Changes

  • Added Rslint configuration file with TypeScript-specific linting rules
  • Updated documentation to include Rslint in the list of Rstack tools
  • Applied code style fixes addressing various linting issues throughout the codebase

Reviewed Changes

Copilot reviewed 35 out of 36 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
rslint.jsonc New configuration file for Rslint with TypeScript ESLint rules
package.json Added Rslint dependency and integrated into lint script
biome.json Updated Biome schema version
Multiple .ts files Code style improvements including unnecessary assertions removal and array type syntax
Documentation files Added Rslint to toolchain listings in both English and Chinese docs
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

public stderr = '';
private stdoutListeners: Array<() => void> = [];
private stderrListeners: Array<() => void> = [];
// private stderrListeners: Array<() => void> = [];
Copy link

Copilot AI Aug 6, 2025

Choose a reason for hiding this comment

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

Consider removing commented-out code entirely rather than leaving it in the codebase. If this is temporarily disabled for a specific reason, add a TODO comment explaining why.

Suggested change
// private stderrListeners: Array<() => void> = [];

Copilot uses AI. Check for mistakes.
@9aoy
Copy link
Copy Markdown
Collaborator

9aoy commented Aug 7, 2025

🦀

@9aoy 9aoy merged commit a283b60 into main Aug 7, 2025
16 checks passed
@9aoy 9aoy deleted the rslint branch August 7, 2025 08:24
@9aoy 9aoy mentioned this pull request Aug 8, 2025
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.

3 participants