Skip to content

feat(lint): inject lint exports into config factory - #352

Merged
chenjiahan merged 1 commit into
mainfrom
chenjiahan/feat-lint-config-injection
Aug 13, 2026
Merged

feat(lint): inject lint exports into config factory#352
chenjiahan merged 1 commit into
mainfrom
chenjiahan/feat-lint-config-injection

Conversation

@chenjiahan

Copy link
Copy Markdown
Member

Summary

define.lint currently requires users to write an async callback and manually import rstack/lint when using bundled presets. This PR injects the lazily loaded Rslint exports into lint configuration factories, enabling concise synchronous callbacks while preserving direct configurations and existing no-argument factories.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying rstack-cli with  Cloudflare Pages  Cloudflare Pages

Latest commit: a1fd320
Status: ✅  Deploy successful!
Preview URL: https://845bd368.rstack-cli.pages.dev
Branch Preview URL: https://chenjiahan-feat-lint-config.rstack-cli.pages.dev

View logs

@chenjiahan
chenjiahan merged commit 9129fe0 into main Aug 13, 2026
5 checks passed
@chenjiahan
chenjiahan deleted the chenjiahan/feat-lint-config-injection branch August 13, 2026 14:48
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.

1 participant