Skip to content

Commit

Permalink
fix(prettier-plugin-jsdoc): include 'return' as tag with name as desc
Browse files Browse the repository at this point in the history
  • Loading branch information
homer0 committed Jan 28, 2023
1 parent 7618870 commit cf3a81c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/public/prettier-plugin-jsdoc/src/fns/constants.js
Expand Up @@ -71,7 +71,13 @@ const getTagsThatRequireColumns = () => ['template'];
*
* @returns {string[]}
*/
const getTagsWithNameAsDescription = () => ['see', 'borrows', 'yields', 'returns'];
const getTagsWithNameAsDescription = () => [
'see',
'borrows',
'yields',
'returns',
'return',
];
/**
* Gets the list of languages the plugin supports.
*
Expand Down

0 comments on commit cf3a81c

Please sign in to comment.