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.
- package/dist/cjs/jsdocUtils.d.ts +0 -3
- package/dist/jsdocUtils.cjs +35 -2
- package/dist/jsdocUtils.cjs.map +1 -1
- package/dist/jsdocUtils.d.ts +0 -3
- package/dist/rules/escapeInlineTags.cjs +94 -32
- package/dist/rules/escapeInlineTags.cjs.map +1 -1
- package/dist/rules/validTypes.cjs +1 -5
- package/dist/rules/validTypes.cjs.map +1 -1
- package/package.json +1 -1
- package/src/jsdocUtils.js +37 -2
- package/src/rules/escapeInlineTags.js +142 -45
- package/src/rules/validTypes.js +1 -7
package/src/rules/validTypes.js
CHANGED
|
@@ -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
|
}
|