-
-
Notifications
You must be signed in to change notification settings - Fork 188
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
Enable eslint rule equivalent to ts-lint completed-docs
rule
#395
Comments
Check this out, we can enable this right now! |
I think we want: "completed-docs": [
{
"classes": {"visibilities": ["exported"]},
"enums": {"visibilities": ["exported"]},
"enum-members": {"visibilities": ["exported"]},
"interfaces": {"visibilities": ["exported"]},
"functions": {"visibilities": ["exported"]},
"methods": {"privacies": ["public", "protected"]},
"properties": {"privacies": ["public", "protected"]}
}
] And we should start out with this rule as a warning, not error, while we work to address the documentation. |
completed-docs
rule
@eonarheim okay to handle this one? |
@chris-bingham Actually we are recently switching to eslint given the eventual deprecation of tslint #1217 (apologies this issue lagged behind), however we would still like a similar feature in eslint if possible. If you base a branch on #1217, we'll merge your PR after #1217. If you'd like to figure out an equivalent eslint rule to completed-docs that would be awesome! We'll update the issue to reflect that |
completed-docs
rulecompleted-docs
rule
Oh no I just opened a PR for tslint. But sure I'll have a look for the eslint equivalent |
This branch has our basic eslint changes |
Hi @chris-bingham, I've made some updates to the branch I did a little more digging, I think this plugin may be what you need to complete this story, it looks like it has all the things that we want 👍 |
Thanks for this @eonarheim, my research led me to the same plugin :) |
@chris-bingham Are you still working on this? If you need any help let us know. |
@eonarheim I do still intend to do this, but have been absolulely stacked since i took it on. If anyone else wants the ticket they're welcome to it but if its not been done when I get some time I'll do it :) |
Context
We require JSDoc comments on all public members of Excalibur in order to properly generate our API documentation. While we always intend to manually review any new comments, this would prevent anything from slipping through without a comment.
Proposal
Enable completed-docs TSLint rule.
This should be implemented in this PR as a warning not an error until we address all outstanding issues it finds (we will open a separate core team PR).
The text was updated successfully, but these errors were encountered: