Skip to content

Commit c56aadd

Browse files
committed
Remove editorial 'Match upstream' comment — belongs in PR description, not code
1 parent 5a546c5 commit c56aadd

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

lib/rules/template-no-invalid-link-text.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,7 @@ module.exports = {
145145
return;
146146
}
147147

148-
// Match upstream: if the link contains any non-TextNode child (component,
149-
// mustache, sub/block expression), the content is dynamic/opaque — don't flag.
150-
// See upstream no-invalid-link-text.js L53-56.
148+
// If the link contains any non-TextNode child, content is dynamic/opaque — don't flag.
151149
const childList = children || [];
152150
const allTextNodes = childList.every((child) => child.type === 'GlimmerTextNode');
153151
if (!allTextNodes) {

0 commit comments

Comments
 (0)