Skip to content

Commit

Permalink
fix: update jsdoccomment; fixes #934
Browse files Browse the repository at this point in the history
Also:
- chore: update devDeps.
  • Loading branch information
brettz9 committed Nov 24, 2022
1 parent dc571c0 commit 124d327
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 4 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18382,6 +18382,16 @@ const getTSFunctionComment = function (astNode) {
return astNode;
}
};

const f =
/**
* Description.
*
* @returns Result.
*/
() => {
return function () {};
};
````


Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"url": "http://gajus.com"
},
"dependencies": {
"@es-joy/jsdoccomment": "~0.36.0",
"@es-joy/jsdoccomment": "~0.36.1",
"comment-parser": "1.3.1",
"debug": "^4.3.4",
"escape-string-regexp": "^4.0.0",
Expand All @@ -25,14 +25,14 @@
"@babel/register": "^7.18.9",
"@es-joy/jsdoc-eslint-parser": "^0.17.0",
"@hkdobrev/run-if-changed": "^0.3.1",
"@typescript-eslint/parser": "^5.42.1",
"@typescript-eslint/parser": "^5.44.0",
"babel-plugin-add-module-exports": "^1.0.4",
"babel-plugin-istanbul": "^6.1.1",
"camelcase": "^6.3.0",
"chai": "^4.3.7",
"cross-env": "^7.0.3",
"decamelize": "^5.0.1",
"eslint": "^8.27.0",
"eslint": "^8.28.0",
"eslint-config-canonical": "~33.0.1",
"gitdown": "^3.1.5",
"glob": "^8.0.3",
Expand All @@ -45,7 +45,7 @@
"open-editor": "^3.0.0",
"rimraf": "^3.0.2",
"semantic-release": "^19.0.5",
"typescript": "^4.8.4"
"typescript": "^4.9.3"
},
"engines": {
"node": "^14 || ^16 || ^17 || ^18 || ^19"
Expand Down
13 changes: 13 additions & 0 deletions test/rules/assertions/requireReturnsCheck.js
Original file line number Diff line number Diff line change
Expand Up @@ -1477,5 +1477,18 @@ export default {
};
`,
},
{
code: `
const f =
/**
* Description.
*
* @returns Result.
*/
() => {
return function () {};
};
`,
},
],
};

0 comments on commit 124d327

Please sign in to comment.