Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Enforce @slot JSDoc #91

Open
3 tasks done
tfrijsewijk opened this issue Jun 15, 2023 · 2 comments
Open
3 tasks done

feat: Enforce @slot JSDoc #91

tfrijsewijk opened this issue Jun 15, 2023 · 2 comments
Labels
Help Wanted Extra attention is needed

Comments

@tfrijsewijk
Copy link

Prerequisites

Describe the Feature Request

Forces the developer to document every <slot> in the render() function.

Describe the Use Case

A slot is part of the public API of the component. Just as Prop() and Event() are enforced, slots are of equal importance.

Describe Preferred Solution

No response

Describe Alternatives

No response

Related Code

No response

Additional Information

No response

@raphaelpor raphaelpor added the Help Wanted Extra attention is needed label Nov 4, 2023
@jcfranco
Copy link
Contributor

jcfranco commented Mar 6, 2024

@raphaelpor I’m interested in taking this one on. Could you point me in the right direction or suggest some resources to get started? Thanks!

@jcfranco
Copy link
Contributor

jcfranco commented Mar 6, 2024

@raphaelpor Took a stab at this (see #105). The missing part is handling slots and names coming from external modules (e.g., helpers). Not sure if that's feasible or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Help Wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants