Skip to content

Commit 124d327

Browse files
committedNov 24, 2022
fix: update jsdoccomment; fixes #934
Also: - chore: update devDeps.
1 parent dc571c0 commit 124d327

File tree

3 files changed

+27
-4
lines changed

3 files changed

+27
-4
lines changed
 

‎README.md

+10
Original file line numberDiff line numberDiff line change
@@ -18382,6 +18382,16 @@ const getTSFunctionComment = function (astNode) {
1838218382
return astNode;
1838318383
}
1838418384
};
18385+
18386+
const f =
18387+
/**
18388+
* Description.
18389+
*
18390+
* @returns Result.
18391+
*/
18392+
() => {
18393+
return function () {};
18394+
};
1838518395
````
1838618396

1838718397

‎package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"url": "http://gajus.com"
66
},
77
"dependencies": {
8-
"@es-joy/jsdoccomment": "~0.36.0",
8+
"@es-joy/jsdoccomment": "~0.36.1",
99
"comment-parser": "1.3.1",
1010
"debug": "^4.3.4",
1111
"escape-string-regexp": "^4.0.0",
@@ -25,14 +25,14 @@
2525
"@babel/register": "^7.18.9",
2626
"@es-joy/jsdoc-eslint-parser": "^0.17.0",
2727
"@hkdobrev/run-if-changed": "^0.3.1",
28-
"@typescript-eslint/parser": "^5.42.1",
28+
"@typescript-eslint/parser": "^5.44.0",
2929
"babel-plugin-add-module-exports": "^1.0.4",
3030
"babel-plugin-istanbul": "^6.1.1",
3131
"camelcase": "^6.3.0",
3232
"chai": "^4.3.7",
3333
"cross-env": "^7.0.3",
3434
"decamelize": "^5.0.1",
35-
"eslint": "^8.27.0",
35+
"eslint": "^8.28.0",
3636
"eslint-config-canonical": "~33.0.1",
3737
"gitdown": "^3.1.5",
3838
"glob": "^8.0.3",
@@ -45,7 +45,7 @@
4545
"open-editor": "^3.0.0",
4646
"rimraf": "^3.0.2",
4747
"semantic-release": "^19.0.5",
48-
"typescript": "^4.8.4"
48+
"typescript": "^4.9.3"
4949
},
5050
"engines": {
5151
"node": "^14 || ^16 || ^17 || ^18 || ^19"

‎test/rules/assertions/requireReturnsCheck.js

+13
Original file line numberDiff line numberDiff line change
@@ -1477,5 +1477,18 @@ export default {
14771477
};
14781478
`,
14791479
},
1480+
{
1481+
code: `
1482+
const f =
1483+
/**
1484+
* Description.
1485+
*
1486+
* @returns Result.
1487+
*/
1488+
() => {
1489+
return function () {};
1490+
};
1491+
`,
1492+
},
14801493
],
14811494
};

0 commit comments

Comments
 (0)
Please sign in to comment.