Skip to content

Add @template tag to no-undefined-types docs #291

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

Closed
wants to merge 1 commit into from

Conversation

l1bbcsg
Copy link
Contributor

@l1bbcsg l1bbcsg commented Jun 24, 2019

Essentially a follow up to #283, I noticed I forgot to update documentation.

README.md Outdated
@@ -678,7 +678,7 @@ function quux () {}
function quux2 () {

}
// Settings: {"jsdoc":{"matchingFileName":"/Users/brett/eslint-plugin-jsdoc/test/rules/data/test.js"}}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh, looks like a local path snuck in here. Not sure what I can do about it in this PR, this has to be updated in upstream.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Actually, I did the nasty thing and dropped out the commit with a force push. This way it's not in the diff at least and won't get in the way once the path reference is removed in upstream.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Yeah, ESLint 6 requires absolute paths, and it seems the documentation generator resolves the path to the final result. For now, I can just rebase your PR and regenerate the docs on my machine to avoid your own path getting in there.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Your force push solution is fine. Could you add this in parentheses though after @template: " (for Closure)"?

Copy link
Collaborator

Choose a reason for hiding this comment

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

or " (for Closure/TypeScript)"... It is not a standard jsdoc tag, so I think that should be called out for those who might otherwise try to search for the tag on https://jsdoc.app and not find it...

Copy link
Collaborator

Choose a reason for hiding this comment

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

Nevermind, I handled it (and changed the commit message to "docs:"). Thanks for the docs!

@brettz9
Copy link
Collaborator

brettz9 commented Jun 24, 2019

Sorry for the disconnected rebase, but this is now included in master through 4383525

@brettz9 brettz9 closed this Jun 24, 2019
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.

2 participants