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.

貢獻者指南