We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3a8d8b commit 0848ef7Copy full SHA for 0848ef7
1 file changed
lib/rules/template-require-media-caption.js
@@ -56,8 +56,7 @@ module.exports = {
56
57
// Any other dynamic value (e.g. muted="{{isMuted}}" → ConcatStatement,
58
// or muted={{#if ...}}...{{/if}} → BlockStatement) → treat as exempt.
59
- // Matches upstream ember-template-lint behavior where MustacheStatement,
60
- // BlockStatement, or any non-text/non-"false" value is considered muted.
+ // These cannot be statically evaluated, so assume the element may be muted.
61
if (value.type !== 'GlimmerTextNode' && value.type !== 'GlimmerMustacheStatement') {
62
return;
63
}
0 commit comments