# ember/template-no-shadowed-elements 💼 This rule is enabled in the 📋 `template-lint-migration` [config](https://github.com/ember-cli/eslint-plugin-ember#-configurations). This rule prevents ambiguity in situations where a yielded block param which starts with a lower case letter is also used within the block itself as an element name. ## Examples This rule **forbids** the following: ```hbs
``` This rule **allows** the following: ```hbs {{#foo-bar as |Baz|}} {{/foo-bar}} ``` ```hbs ``` ```hbs {{#with foo=(component 'blah-zorz') as |Div|}}
{{/with}} ``` ```hbs ``` ## References - [Ember guides/block content](https://guides.emberjs.com/release/components/block-content/) - [rfcs/angle bracket invocation](https://emberjs.github.io/rfcs/0311-angle-bracket-invocation.html) - [rfcs/named blocks](https://emberjs.github.io/rfcs/0226-named-blocks.html)