Skip to content

Comments

Style: Link method argument definitions#721

Merged
fdwr merged 5 commits intowebmachinelearning:mainfrom
inexorabletash:style-arg-dfns
Jul 12, 2024
Merged

Style: Link method argument definitions#721
fdwr merged 5 commits intowebmachinelearning:mainfrom
inexorabletash:style-arg-dfns

Conversation

@inexorabletash
Copy link
Contributor

@inexorabletash inexorabletash commented Jul 10, 2024

Also adds a lint rule to enforce that every argument given in IDL is linked to a prose definition for it, and a lint rule to look for argument definitions that don't match their methods.

Fixes #574


Preview | Diff

Also adds a lint rule to enforce that every argument given in IDL is
linked to a prose definition for it, and a lint rule to look for
argument definitions that don't match their methods.

Fixes #574
@inexorabletash inexorabletash requested review from fdwr and huningxin July 10, 2024 23:11
@inexorabletash
Copy link
Contributor Author

I've had this change locally for a while, but just stumbled on how to craft the Bikeshed linking syntax to make it comprehensive and possible to lint. Happy to drop this to draft, but it seems easy/worth merging.

Copy link
Contributor

@huningxin huningxin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Collaborator

@fdwr fdwr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 TY JB.

@fdwr fdwr merged commit dbb9d1c into webmachinelearning:main Jul 12, 2024
github-actions bot added a commit that referenced this pull request Jul 12, 2024
SHA: dbb9d1c
Reason: push, by fdwr

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@inexorabletash inexorabletash deleted the style-arg-dfns branch July 13, 2024 01:40
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.

Consider alternate styling/linking for method argument definitions

3 participants