💼 This rule is enabled in the following configs: strict-gjs, strict-gts.
✅ The extends: 'plugin:ember/strict-gjs' or extends: 'plugin:ember/strict-gts' property in a configuration file enables this rule.
Disallow {{yield}} without parameters outside of contextual components.
This rule enforces passing parameters to {{yield}} to make component APIs more explicit.
Examples of incorrect code for this rule:
<template>
{{yield}}
</template>Examples of correct code for this rule:
<template>
{{yield this}}
</template>
<template>
{{yield @model}}
</template>- strictGjs: true
- strictGts: true