winglang/wing

PR linter

Open

#482 创建于 2022年11月7日

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

仓库指标

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

描述

PRs that change certain things should require new/changed example wing files to ensure coverage is available for the various tests that consume those files.

Feature Spec

Suggested projects to require test cases:

  • tree-sitter-wing
  • wingc (maybe only certain files, like the parser/typechecker/jsify)

Use Cases

Testing is often easy to forget, but for such foundational changes, we should nudge contributors to add bare minimum testing.

Implementation Notes

I think it would be interesting to look into generic tooling to support PR lints. e.g. https://danger.systems/js/

Also note we use mergify, which can also help

Component

  • Development Environment
  • Contributor Experience

贡献者指南