winglang/wing

Eslint rule - check that all SDK APIs are exported

Open

#297 opened on 2022幎10月19日

GitHub で芋る
 (4 comments) (0 reactions) (0 assignees)TypeScript (214 forks)github user discovery
good first issue🎚 sdk👷‍♀ contributor-experience

Repository metrics

Stars
 (5,385 stars)
PR merge metrics
 (30d に merged 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.

コントリビュヌタヌガむド