We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
gajus
brettz9
Learn more about funding links in repositories.
Report abuse
check-template-names
1 parent a57f36e commit c283729Copy full SHA for c283729
src/rules/checkTemplateNames.js
@@ -37,7 +37,7 @@ export default iterateJsdoc(({
37
type,
38
value,
39
} = /** @type {import('jsdoc-type-pratt-parser').NameResult} */ (nde);
40
- if (type === 'JsdocTypeName' && (/^[A-Z]$/).test(value)) {
+ if (type === 'JsdocTypeName') {
41
usedNames.add(value);
42
}
43
});
0 commit comments