eslint-plugin-jsdoc 63.0.8 → 63.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -399,13 +399,7 @@ export default iterateJsdoc(({
399
399
 
400
400
  if (hasNamepathPosition) {
401
401
  if (mode !== 'jsdoc' && tag.tag === 'template') {
402
- if (!tryParsePathIgnoreError(
403
- // May be an issue with the commas of
404
- // `utils.parseClosureTemplateTag`, so first try a raw
405
- // value; we really need a proper parser instead, however.
406
- tag.name.trim().replace(/^\[?(?<name>.*?)=.*$/v, '$<name>'),
407
- mode,
408
- )) {
402
+ if (!tryParsePathIgnoreError(tag.name.trim(), mode)) {
409
403
  for (const namepath of utils.parseClosureTemplateTag(tag)) {
410
404
  validNamepathParsing(namepath);
411
405
  }