winglang/wing

Eslint rule - check that all SDK APIs are exported

Open

#297 创建于 2022年10月19日

在 GitHub 查看
 (4 评论) (0 反应) (0 负责人)TypeScript (214 fork)github user discovery
good first issue🎨 sdk👷‍♀️ contributor-experience

仓库指标

Star
 (5,385 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

It would be handy to have a custom eslint plugin that asserts that all typescript files are exported to the root of the SDK. Any exported APIs inside a directory named internal or with the pattern *.util.ts can be excluded.

In my experience it's pretty easy to forget to re-export a module in index.ts, so a linter rule would help.

贡献者指南