Skip to content

Commit 5c96387

Browse files
committed
chore: remove 'upstream' reference — describe behavior directly
1 parent 92b6d17 commit 5c96387

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

lib/rules/template-no-whitespace-for-layout.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ module.exports = {
2727

2828
return {
2929
GlimmerTextNode(node) {
30-
// Upstream ember-template-lint only visits body text; its HBS parser
31-
// exposes attribute values as strings rather than TextNode children.
32-
// ember-eslint-parser emits them as GlimmerTextNode children of a
33-
// GlimmerAttrNode, so skip those to match upstream scope.
30+
// Only flag body text, not attribute values. ember-eslint-parser
31+
// emits attribute values as GlimmerTextNode children of a
32+
// GlimmerAttrNode; skip those so only element body whitespace is
33+
// checked.
3434
if (node.parent?.type === 'GlimmerAttrNode') {
3535
return;
3636
}

0 commit comments

Comments
 (0)