diff --git a/src/getDefaultTagStructureForMode.js b/src/getDefaultTagStructureForMode.js index 5f473b59b..44cd80ce9 100644 --- a/src/getDefaultTagStructureForMode.js +++ b/src/getDefaultTagStructureForMode.js @@ -838,6 +838,10 @@ const getDefaultTagStructureForMode = (mode) => { 'namepathRole', isJsdoc ? 'text' : 'namepath-referencing', ], + [ + 'nameRequired', !isJsdoc, + ], + // Though defines `namepathRole: 'namepath-defining'` in a sense, it is // not parseable in the same way for template (e.g., allowing commas), // so not adding