Skip to content

docs: simplify lint configuration examples - #355

Merged
chenjiahan merged 1 commit into
mainfrom
chenjiahan/docs-lint-type-checked
Aug 14, 2026
Merged

docs: simplify lint configuration examples#355
chenjiahan merged 1 commit into
mainfrom
chenjiahan/docs-lint-type-checked

Conversation

@chenjiahan

Copy link
Copy Markdown
Member

Summary

The documentation still shows manual dynamic imports for rstack/lint, which obscures the injected exports added in #352. This PR updates the English and Chinese examples to use synchronous define.lint() callbacks and switches the TypeScript preset to ts.configs.recommendedTypeChecked.

Related Links

Co-authored-by: swwind <i@sww.moe>
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying rstack-cli with  Cloudflare Pages  Cloudflare Pages

Latest commit: a3c2649
Status: ✅  Deploy successful!
Preview URL: https://548b8d9e.rstack-cli.pages.dev
Branch Preview URL: https://chenjiahan-docs-lint-type-ch.rstack-cli.pages.dev

View logs

@chenjiahan
chenjiahan merged commit c843462 into main Aug 14, 2026
5 checks passed
@chenjiahan
chenjiahan deleted the chenjiahan/docs-lint-type-checked branch August 14, 2026 02:34
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