Skip to content

chore: add Rslint#68

Merged
chenjiahan merged 1 commit into
mainfrom
chore/add-rslint
May 7, 2026
Merged

chore: add Rslint#68
chenjiahan merged 1 commit into
mainfrom
chore/add-rslint

Conversation

@chenjiahan
Copy link
Copy Markdown
Member

This PR adds Rslint as the repository lint entrypoint. It includes rslint.config.ts, the @rslint/core dev dependency, a VS Code extension recommendation, and a GitHub Actions lint workflow that runs pnpm run lint.

Validated locally with pnpm run lint.

Copilot AI review requested due to automatic review settings May 7, 2026 13:27
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e5cdf703ec

ℹ️ 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".

Comment thread rslint.config.ts
Copy link
Copy Markdown

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 introduces Rslint as the repository’s lint entrypoint, wiring it into local scripts and CI so contributors and pull requests can run a consistent lint command.

Changes:

  • Add rslint.config.ts and install @rslint/core.
  • Add lint / lint:write scripts and recommend the VS Code Rslint extension.
  • Add a GitHub Actions workflow to run pnpm run lint on pushes/PRs.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
rslint.config.ts Adds the Rslint configuration and a couple of rule overrides.
package.json Adds lint scripts and the @rslint/core dev dependency.
pnpm-lock.yaml Locks @rslint/core and its transitive dependencies.
.vscode/extensions.json Recommends editor extensions for linting/formatting.
.github/workflows/lint.yml Adds a CI job to run the lint script on PRs and main.
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/lint.yml
Comment thread .github/workflows/lint.yml
@chenjiahan chenjiahan merged commit 3f15bd5 into main May 7, 2026
8 checks passed
@chenjiahan chenjiahan deleted the chore/add-rslint branch May 7, 2026 13:36
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.

2 participants