💼 This rule is enabled in the following configs: strict-gjs, strict-gts.
Disallows components that only yield without any wrapper or additional functionality.
Components should provide some structure or functionality beyond just yielding. If a component only yields, it adds unnecessary indirection.
Examples of incorrect code for this rule:
<template>
{{yield}}
</template>Examples of correct code for this rule:
<template>
<div class="wrapper">
{{yield}}
</div>
</template><template>
{{this.setup}}
{{yield}}
</template>