Skip to content

Commit

Permalink
fix(prettier-plugin-jsdoc): add synonym for the @example tag
Browse files Browse the repository at this point in the history
  • Loading branch information
homer0 committed Oct 22, 2020
1 parent 8a8bc18 commit fd75310
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ const TAGS_SYNONYMS = {
return: 'returns',
exception: 'throws',
yield: 'yields',
examples: 'example',
};

module.exports.TAGS_SYNONYMS = TAGS_SYNONYMS;

0 comments on commit fd75310

Please sign in to comment.