eslint-plugin-jsdoc
Advanced tools
Comparing version 48.2.2 to 48.2.3
@@ -144,3 +144,3 @@ { | ||
}, | ||
"version": "48.2.2" | ||
"version": "48.2.3" | ||
} |
@@ -13,2 +13,9 @@ import iterateJsdoc from '../iterateJsdoc.js'; | ||
const jsdocTypePrattKeywords = new Set([ | ||
'typeof', | ||
'readonly', | ||
'import', | ||
'is', | ||
]); | ||
const asExpression = /as\s+/u; | ||
@@ -111,3 +118,6 @@ | ||
const validNamepathParsing = function (namepath, tagName) { | ||
if (tryParsePathIgnoreError(namepath)) { | ||
if ( | ||
tryParsePathIgnoreError(namepath) || | ||
jsdocTypePrattKeywords.has(namepath) | ||
) { | ||
return true; | ||
@@ -114,0 +124,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1840725
30374