Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

Improved "complete docs" docs #3006

Closed
wants to merge 3 commits into from

Conversation

304NotModified
Copy link
Contributor

@304NotModified 304NotModified commented Jul 6, 2017

PR checklist

  • Documentation update

Overview of change:

  • It was unclear to me if it works for JSDocs (because in another rule "JSDoc comment" is used instead of "Documentation"

  • Updated the style for the inline code

Copy link
Contributor

@ajafff ajafff left a comment

Choose a reason for hiding this comment

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

you are tageting the wrong branch and the wrong file.

This file is generated from the metadata in the rule's source. In this case src/rules/completedDocsRule.ts.
The PR should be against master. This branch is only update with the generated docs during release.

@@ -1,9 +1,9 @@
---
ruleName: completed-docs
description: Enforces documentation for important items be filled out.
description: Enforces documentation and JSDoc comments for important items be filled out.
Copy link
Contributor

Choose a reason for hiding this comment

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

documentation and JSDoc comments seems redundant.
Maybe just Enforces JSDoc for important ...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

but it also works for non-JS docs? (double slash)

What about:

Enforces (JSDoc) comments for important items be filled out.

Copy link
Contributor

Choose a reason for hiding this comment

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

@304NotModified Sorry for the delay

but it also works for non-JS docs? (double slash)

After looking at the code and the tests for this rule, I'm pretty sure it only checks JSDoc.

That said, I'd prefer Enforces JSDoc comments for important items be filled out.
And as stated above, the changes should be done in the rule metadata in the source file instead.

@304NotModified
Copy link
Contributor Author

I've update the text and fixed

@304NotModified
Copy link
Contributor Author

304NotModified commented Apr 9, 2018

and created a new PR: #3823

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants