-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Guidelines implementation: Docs #2286
Labels
in-progress
This issue is being actively worked on.
package/awscl
Cross-cutting issues related to the AWS Construct Library
Comments
eladb
added
feature-request
A feature should be added or improved.
package/awscl
Cross-cutting issues related to the AWS Construct Library
effort/medium
Medium work item – several days of effort
and removed
feature-request
A feature should be added or improved.
labels
Apr 15, 2019
eladb
added
package/awscl
Cross-cutting issues related to the AWS Construct Library
and removed
package/awscl
Cross-cutting issues related to the AWS Construct Library
labels
May 1, 2019
NGL321
added
closing-soon
This issue will automatically close in 4 days unless further comments are made.
pr/needs-community-review
This PR needs a review from a Trusted Community Member or Core Team Member.
labels
Sep 10, 2019
eladb
removed
closing-soon
This issue will automatically close in 4 days unless further comments are made.
effort/medium
Medium work item – several days of effort
pr/needs-community-review
This PR needs a review from a Trusted Community Member or Core Team Member.
labels
Sep 11, 2019
rix0rrr
added a commit
that referenced
this issue
Oct 23, 2019
Many people (still) contribute PRs with undocumented members, or undocumented classes, or undocumented defaults, because there is no tool support to check they're not forgetting. We used to have `@default` checking on props types for L2s, but not for interfaces that are used INSIDE L2 props structs, or that are used as props types for non-constructs. Add two new checks: * Requirement to document top-level types and public members. * Requirement to supply `@default` for optional properties on structs. Which supersede the previous one. Obviously, we have many currently undocumented APIs which are added to the ignore list. Fixes #2286.
mergify bot
pushed a commit
that referenced
this issue
Oct 28, 2019
* chore: require docstring on public members Many people (still) contribute PRs with undocumented members, or undocumented classes, or undocumented defaults, because there is no tool support to check they're not forgetting. We used to have `@default` checking on props types for L2s, but not for interfaces that are used INSIDE L2 props structs, or that are used as props types for non-constructs. Add two new checks: * Requirement to document top-level types and public members. * Requirement to supply `@default` for optional properties on structs. Which supersede the previous one. Obviously, we have many currently undocumented APIs which are added to the ignore list. Fixes #2286. * Update region-info awslint script * Update with new undocumented APIs * More undefaulted props * Ignore some more undocumented public APIs that got merged in the mean time
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
in-progress
This issue is being actively worked on.
package/awscl
Cross-cutting issues related to the AWS Construct Library
awslint:docs-public-apis
: All public APIs should have JSDocs--
awslint:docs-no-duplicates
: No duplciate JSDocs should be provided for implementations of intetface members or overridesThe text was updated successfully, but these errors were encountered: