diff --git a/README.md b/README.md index 7077bd8e0..9cac74a6f 100644 --- a/README.md +++ b/README.md @@ -9576,6 +9576,9 @@ function quux (foo) { * @callback * @param {number} foo */ + +/*** Oops that's too many asterisks by accident **/ +function a () {} ```` diff --git a/package.json b/package.json index da33792eb..9f0399a55 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "url": "http://gajus.com" }, "dependencies": { - "@es-joy/jsdoccomment": "~0.22.0", + "@es-joy/jsdoccomment": "~0.22.1", "comment-parser": "1.3.1", "debug": "^4.3.4", "escape-string-regexp": "^4.0.0", diff --git a/test/rules/assertions/noTypes.js b/test/rules/assertions/noTypes.js index 714b9638e..e323d8167 100644 --- a/test/rules/assertions/noTypes.js +++ b/test/rules/assertions/noTypes.js @@ -268,5 +268,11 @@ export default { */ `, }, + { + code: ` + /*** Oops that's too many asterisks by accident **/ + function a () {} + `, + }, ], };