-
-
Notifications
You must be signed in to change notification settings - Fork 163
Unrecognized JSDoc tag: hideconstructor #96
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
Labels
Comments
jugglinmike
added a commit
to jugglinmike/cheerio
that referenced
this issue
Oct 8, 2018
Reformat the project source to ensure proper organization of the procedurally-generated API documentation. This includes documenting aliased methods independently (e.g. `cheerio.html` and `$.html`) and accurately communicating the distinction between the Cheerio module and the Cheerio class. This change uses the `hideconstructor` JSDoc "tag" name in order to discourage the use of a low-level function. The linting rules do not currently recognize the tag, so this patch also adds explicit configuration to allow it. This may be removed if the linting tool is patched with support [1]. JSDoc does not currently allow the identified `exports` to be used to define a so-called "mixin." This is problematic because the mixin is the most appropriate type for describing the relationship between Cheerio's internal modules and the Cheerio object. A fix has been implemented and submitted upstream [2]; update this project's dependencies to rely on the patched version. [1] gajus/eslint-plugin-jsdoc#96 [2] jsdoc/jsdoc#1575
Can you raise a PR? |
jugglinmike
added a commit
to jugglinmike/cheerio
that referenced
this issue
Oct 14, 2018
Reformat the project source to ensure proper organization of the procedurally-generated API documentation. This includes documenting aliased methods independently (e.g. `cheerio.html` and `$.html`) and accurately communicating the distinction between the Cheerio module and the Cheerio class. This change uses the `hideconstructor` JSDoc "tag" name in order to discourage the use of a low-level function. The linting rules do not currently recognize the tag, so this patch also adds explicit configuration to allow it. This may be removed if the linting tool is patched with support [1]. JSDoc does not currently allow the identified `exports` to be used to define a so-called "mixin." This is problematic because the mixin is the most appropriate type for describing the relationship between Cheerio's internal modules and the Cheerio object. A fix has been implemented and submitted upstream [2]; update this project's dependencies to rely on the patched version. [1] gajus/eslint-plugin-jsdoc#96 [2] jsdoc/jsdoc#1575
jugglinmike
added a commit
to jugglinmike/cheerio
that referenced
this issue
Oct 21, 2018
Reformat the project source to ensure proper organization of the procedurally-generated API documentation. This includes documenting aliased methods independently (e.g. `cheerio.html` and `$.html`) and accurately communicating the distinction between the Cheerio module and the Cheerio class. This change uses the `hideconstructor` JSDoc "tag" name in order to discourage the use of a low-level function. The linting rules do not currently recognize the tag, so this patch also adds explicit configuration to allow it. This may be removed if the linting tool is patched with support [1]. JSDoc does not currently allow the identified `exports` to be used to define a so-called "mixin." This is problematic because the mixin is the most appropriate type for describing the relationship between Cheerio's internal modules and the Cheerio object. A fix has been implemented and submitted upstream [2]; update this project's dependencies to rely on the patched version. [1] gajus/eslint-plugin-jsdoc#96 [2] jsdoc/jsdoc#1575
fb55
pushed a commit
to cheeriojs/cheerio
that referenced
this issue
Nov 1, 2018
Reformat the project source to ensure proper organization of the procedurally-generated API documentation. This includes documenting aliased methods independently (e.g. `cheerio.html` and `$.html`) and accurately communicating the distinction between the Cheerio module and the Cheerio class. This change uses the `hideconstructor` JSDoc "tag" name in order to discourage the use of a low-level function. The linting rules do not currently recognize the tag, so this patch also adds explicit configuration to allow it. This may be removed if the linting tool is patched with support [1]. JSDoc does not currently allow the identified `exports` to be used to define a so-called "mixin." This is problematic because the mixin is the most appropriate type for describing the relationship between Cheerio's internal modules and the Cheerio object. A fix has been implemented and submitted upstream [2]; update this project's dependencies to rely on the patched version. [1] gajus/eslint-plugin-jsdoc#96 [2] jsdoc/jsdoc#1575
gajus
added a commit
that referenced
this issue
Mar 14, 2019
feat: add support for @hideconstructor tag (fixes #96)
🎉 This issue has been resolved in version 4.3.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Thanks! |
fb55
pushed a commit
to cheeriojs/cheerio
that referenced
this issue
Sep 10, 2020
Reformat the project source to ensure proper organization of the procedurally-generated API documentation. This includes documenting aliased methods independently (e.g. `cheerio.html` and `$.html`) and accurately communicating the distinction between the Cheerio module and the Cheerio class. This change uses the `hideconstructor` JSDoc "tag" name in order to discourage the use of a low-level function. The linting rules do not currently recognize the tag, so this patch also adds explicit configuration to allow it. This may be removed if the linting tool is patched with support [1]. JSDoc does not currently allow the identified `exports` to be used to define a so-called "mixin." This is problematic because the mixin is the most appropriate type for describing the relationship between Cheerio's internal modules and the Cheerio object. A fix has been implemented and submitted upstream [2]; update this project's dependencies to rely on the patched version. [1] gajus/eslint-plugin-jsdoc#96 [2] jsdoc/jsdoc#1575
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
JSDoc defines a tag named
hideconstructor
, but the tag is not recognized by this plugin, e.g.It may be omitted because it's relatively new, having been introduced in July of last year.
For folks looking to work around this in the short term: use the plugin's
additionalTagNames
configuration:The text was updated successfully, but these errors were encountered: