Title: @private should be empty. · Issue #670 · gajus/eslint-plugin-jsdoc · GitHub
Open Graph Title: @private should be empty. · Issue #670 · gajus/eslint-plugin-jsdoc
X Title: @private should be empty. · Issue #670 · gajus/eslint-plugin-jsdoc
Description: Expected behavior Not sure is it bug but "empty-tags" error is shown. Actual behavior I am not sure, but I believe it wasnt there before, I made npm update yesterday. Strangely error disappears if I delete empty line after @private state...
Open Graph Description: Expected behavior Not sure is it bug but "empty-tags" error is shown. Actual behavior I am not sure, but I believe it wasnt there before, I made npm update yesterday. Strangely error disappears if ...
X Description: Expected behavior Not sure is it bug but "empty-tags" error is shown. Actual behavior I am not sure, but I believe it wasnt there before, I made npm update yesterday. Strangely error disa...
Opengraph URL: https://github.com/gajus/eslint-plugin-jsdoc/issues/670
X: @github
Domain: redirect.github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"@private should be empty.","articleBody":"## Expected behavior\r\nNot sure is it bug but \"empty-tags\" error is shown.\r\n\r\n## Actual behavior\r\nI am not sure, but I believe it wasnt there before, I made `npm update` yesterday.\r\n\r\nStrangely error disappears if I delete empty line after `@private` statement.\r\n\r\n## ESLint Config\r\n\r\n```js\r\n{\r\n \"env\": {\r\n \"node\": true\r\n },\r\n \"plugins\": [\"jsdoc\"],\r\n \"extends\": [\r\n \"eslint:recommended\",\r\n \"plugin:jsdoc/recommended\",\r\n \"plugin:jest/recommended\",\r\n \"plugin:node/recommended\",\r\n \"prettier\"\r\n ],\r\n \"globals\": { \"Set\": true, \"Symbol\": true },\r\n \"rules\": {\r\n \"array-callback-return\": [\r\n 2,\r\n {\r\n \"allowImplicit\": true\r\n }\r\n ],\r\n \"block-scoped-var\": 2,\r\n \"eqeqeq\": [\r\n 2,\r\n \"always\",\r\n {\r\n \"null\": \"ignore\"\r\n }\r\n ],\r\n \"no-lonely-if\": 2,\r\n \"no-proto\": 2,\r\n \"curly\": [2, \"multi-line\"],\r\n \"one-var\": [2, \"never\"],\r\n \"no-else-return\": [\r\n 2,\r\n {\r\n \"allowElseIf\": false\r\n }\r\n ],\r\n \"no-shadow\": 2,\r\n \"no-unused-expressions\": 2,\r\n \"no-useless-call\": 2,\r\n \"no-use-before-define\": [2, \"nofunc\"],\r\n \"no-void\": 2,\r\n \"yoda\": 2,\r\n \"strict\": 2,\r\n\r\n \"jsdoc/require-jsdoc\": 0,\r\n \"jsdoc/check-param-names\": 2,\r\n \"jsdoc/check-tag-names\": 2,\r\n \"jsdoc/check-types\": 2,\r\n \"jsdoc/newline-after-description\": 2,\r\n \"jsdoc/require-description-complete-sentence\": 2,\r\n \"jsdoc/require-hyphen-before-param-description\": 2,\r\n \"jsdoc/require-param-description\": 2,\r\n \"jsdoc/require-param-name\": 2,\r\n \"jsdoc/require-param-type\": 2,\r\n \"jsdoc/require-param\": 2,\r\n \"jsdoc/valid-types\": 2,\r\n\r\n \"node/no-unsupported-features/es-builtins\": 0, // TODO\r\n \"node/shebang\": 0\r\n }\r\n}\r\n```\r\n\r\n## ESLint sample\r\n\r\n```js\r\n/**\r\n * Create an array.\r\n *\r\n * @private\r\n * \r\n * @param {string[]} [elem] - Elements to make an array of.\r\n * @param {boolean} [clone] - Optionally clone nodes.\r\n * @returns {string[]} The array of nodes.\r\n */\r\n\r\n\r\n// Format JS code here\r\n```\r\n\r\n\u003c!-- OR, if this is not triggered by a single rule, what is the\r\n problem and how can one reproduce? --\u003e\r\n\r\n## Environment\r\n\r\n- Node version: v12.19.0\r\n- ESLint version 7.17.0\r\n- `eslint-plugin-jsdoc` version: 31.0.3\r\n\r\n## \r\n\r\n\r\n\r\n","author":{"url":"https://github.com/5saviahv","@type":"Person","name":"5saviahv"},"datePublished":"2021-01-14T14:52:10.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/670/eslint-plugin-jsdoc/issues/670"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7a7c3d44-ad69-dbc9-078c-3a688d911a52 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A8C8:2E3D93:3D78803:541AD0E:6995CE0C |
| html-safe-nonce | 29692aecf651b0f71bc124080567938cf583a12d711769dd58a7931ffa52dc7c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOEM4OjJFM0Q5MzozRDc4ODAzOjU0MUFEMEU6Njk5NUNFMEMiLCJ2aXNpdG9yX2lkIjoiMTM3NDYyMDAwMDE0MTU2MTM1NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6a9009847ec1afa7222259efa9a36ac84b1503dae624ac486345e9fbaf645fcf |
| hovercard-subject-tag | issue:786052736 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/gajus/eslint-plugin-jsdoc/670/issue_layout |
| twitter:image | https://opengraph.githubassets.com/27a5800dbbea3d8954cc888af1193ab481bb14d52d0c5162c3c188cf0e571a32/gajus/eslint-plugin-jsdoc/issues/670 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/27a5800dbbea3d8954cc888af1193ab481bb14d52d0c5162c3c188cf0e571a32/gajus/eslint-plugin-jsdoc/issues/670 |
| og:image:alt | Expected behavior Not sure is it bug but "empty-tags" error is shown. Actual behavior I am not sure, but I believe it wasnt there before, I made npm update yesterday. Strangely error disappears if ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | 5saviahv |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0f7f0c08152b2fbe00b7a94c0999555da729903b87c8fcd49e22663191f98790 |
| turbo-cache-control | no-preview |
| go-import | github.com/gajus/eslint-plugin-jsdoc git https://github.com/gajus/eslint-plugin-jsdoc.git |
| octolytics-dimension-user_id | 973543 |
| octolytics-dimension-user_login | gajus |
| octolytics-dimension-repository_id | 42747440 |
| octolytics-dimension-repository_nwo | gajus/eslint-plugin-jsdoc |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 42747440 |
| octolytics-dimension-repository_network_root_nwo | gajus/eslint-plugin-jsdoc |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 152dd84c0d51b8f667cbe521c323d7a05cca7903 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width