Skip to content

feat: add Rslint as optional tool#126

Merged
chenjiahan merged 2 commits intomainfrom
add_rslint_0414
Apr 14, 2026
Merged

feat: add Rslint as optional tool#126
chenjiahan merged 2 commits intomainfrom
add_rslint_0414

Conversation

@chenjiahan
Copy link
Copy Markdown
Member

Marked as experimental: https://github.com/web-infra-dev/rslint

Copilot AI review requested due to automatic review settings April 14, 2026 10:10
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: 43bc310ff2

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

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

Adds Rslint as an (experimental) optional/built-in tool that can be selected via --tools and scaffolded into generated projects, with corresponding template files and test coverage.

Changes:

  • Expose rslint in the built-in tools list and interactive tools prompt.
  • Add a new template-rslint/ tool template (config, package.json, AGENTS docs).
  • Update/extend CLI + help tests to validate rslint help output and scaffolding behavior.

Reviewed changes

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

Show a summary per file
File Description
src/index.ts Adds rslint to built-in tools and exposes it in the tools prompt.
template-rslint/rslint.config.ts Provides the scaffolded Rslint configuration file.
template-rslint/package.json Adds @rslint/core + lint script for scaffolded projects.
template-rslint/AGENTS.md Documents how to run the Rslint tool in generated projects.
test/cli.test.ts Adds a test verifying Rslint scaffolding output + package.json merge.
test/help.test.ts Updates help output expectations to include the new built-in tool.
package.json Adjusts nano-staged commands formatting (split into separate steps).
.vscode/settings.json Adds rslint to cSpell dictionary.

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

@chenjiahan chenjiahan merged commit adbecc5 into main Apr 14, 2026
4 checks passed
@chenjiahan chenjiahan deleted the add_rslint_0414 branch April 14, 2026 10:56
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